First CHANGE’s (AT) || VPS – [Linux]

... welcome to Area - 413!

First CHANGE’s (AT) || VPS – [Linux]

25. Dezember 2018 Allgemein 0

On LINUX, you should NEVER work with’in your ROOT Account, since you could LOCK YOURSELF OUT of the SYSTEM!

 ################################
# CHANGE's (AT) VPS Server #
# (c) 2018 by CouNTiNG #
# www.radio-base.at powered by: #
# www.4Base.AT - .NET !! pace. #
###############################

# CHANGE ROOT PASSWORD
passwd root

# On LINUX, you should NEVER work with'in the ROOT Account, since you could
# LOCK YOURSELF OUT of the SYSTEM!
# - We will create a new User named USERNAME.

# ADD a USER, with the name USERNAME:
adduser username

# adding the USER to SUDOer's GROUP // give ROOT access:
usermod -aG sudo username

# SWITCH to the USER with:
su - username

# TEST the ROOT access, using a ROOT command:
sudo ls -la /root
# (will ask for PW, only FIRST TIME after ENTERING console!)


  • We will create a NEW USER with the same POWER named USERNAME
    

ADD a USER, with the name USERNAME:


adduser username

adding the USER to SUDOer’s GROUP // give ROOT access:

usermod -aG sudo username

SWITCH to the USER with:

su - username


TEST the ROOT access, using a ROOT command:

sudo ls -la /root

(will ask for PW, only on FIRST TIME, when ENTERING console!)

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.