Ubuntu 添加新用户
示例
adduser命令将用户添加到系统。为了添加新的用户类型:
sudo adduser <user_name>
例:
sudo adduser tom
键入上述命令后,将提示您输入有关新用户的详细信息,例如新密码,用户全名等。
以下是要求用户填写以添加新用户的信息:
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for tom Enter the new value, or press ENTER for the default Full Name []: Test User Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y