Commands such as sudoadduserxxx will add an account sudouseraddxxx under the home directory to only add users. it is easy not to add accounts in the home directory. Ubuntu provides two methods for adding graphical interfaces, the same as Windows, another type is... commands such as sudo adduser xxx will add an account sudo useradd xxx under the home directory to only add users, it's easy not to add an account in the home directory. Ubuntu provides two methods for adding graphical interfaces, the same as Windows, and the traditional Linux addition method.
Solution: 1. there is a graphic interface added in Ubuntu. there are user options under the System menu! Open, follow the prompts to operate on www.2cto.com 2. linux adds users through the command line. (1) open the terminal and enter the sudo-r useradd username/*-r parameter to create the system user (2) run the command "sudo useradd-g root username/*" to divide the user you just created into the root permission group (3) sudo passwd username/* Set the password you just created
Delete: terminal method: Use newuser to replace the user account to be deleted under root user: userdel-r newuser under normal user: sudo userdel-r newuser because you need to completely delete the user, therefore, the-r option is added to delete the user's home directory and email directory while deleting the user. Author: richerg85
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service