Wednesday, November 18, 2020

user admin in ubuntu

How to add new users to Lambda Ubuntu workstation 

sudo useradd johndoe

sudo mkdir /home/johndoe

sudo chown johndoe:johndoe johndoe

sudo passwd johndow #set passwd

sudo usermod -a -G qinlab johndoe #add groups

groups  johndoe #check groups

sudo deluser johndoe qinlab #remove a non-primary group


No comments:

Post a Comment