user
Creating a user. Users always belong to a group. If you want to use it as a login user, set a password with the passwd command.
useradd username
ls /home/ #Check if the user has created
Change user account
usermod user name
Erase user
userdel user name
Create and delete groups
groupadd group name
groupdel group name
User password registration and change
passwd username
Login
su -username
su - #Login as root user
Recommended Posts