krulik
6/12/2017 - 8:52 AM

Create new user

Create new user

# add user
adduser krulik

# Set password prompts:
# Enter new UNIX password:
# Retype new UNIX password:
# passwd: password updated successfully

# add to sudo group
usermod -aG sudo krulik

# switch to user
su - krulik

# test command
sudo command_to_run