February 2018
Intermediate to advanced
396 pages
9h 38m
English
The following subsection will cover the required Linux commands to manage user accounts and groups. To create a new user, use the useradd command; for example, useradd <user>.
Also, you are capable of adding more information about the new user, such as the related shell, the user directory, and expiration date:
useradd <user> -d </Directory>useradd <user> -e <date>useradd <user> -s <shell>
Every user must have a password, and in order to change the password, they need root access. To change a user password, use the passwd command, as follows:
passwd <user>$ passwdChanging password for user1(current) UNIX password:Enter new UNIX password:Retype new UNIX password:passwd: password updated successfully
To remove a user, use the ...