Statistics
3.26.2009
Linux commands articles: user management - adduser
Name: adduser Access: system administrator Usage: adduser [-c comment] [-d home_dir] [-E expire_date] [-f inactive_time] [-G initial_group] [-G group [,...]] [-M [-k skeleton_dir] -M] [-p passwd] [-s shell] [-u uid [-o]] [-n] [-r] loginid Or adduser-D [-g default_group] [-b default_home] [-F default_inactive] [-E default_expire_date] [-S default_shell] Note: adduser and useradd commands for the same command (via symbolic link symbolic link) Description: Add user accounts or update default user data Parameters: -c comment The new user is located in the password file (usually / etc / passwd) annotation information -d home_dir set user's home directory for home_dir, the default value of the home followed by the default user account LOGINID set-e expire_date the use of this account period (format YYYY-MM-DD), default value is permanent and effective -F inactive_time Example: Adduser is to increase the user. On the other hand, there is also delete a user's commands, userdel. Syntax: userdel [login ID]