Ubuntu System new user and add to Admin Group

Source: Internet
Author: User
Keywords Login reboot own user admin
Tags aliyun command line group html http login password reboot

After starting with recovery mode, enter command line mode, the prompt should be #

1, input http://www.aliyun.com/zixun/aggregation/13687.html "> user management command, new user (for example, test):

Useradd test

To modify the password for the test user:

passwd test

2, add new users to the administrative group:

Gpasswd-a Test Admin

3. Create your own directory for test users:

Cd/home

mkdir test

Chown Test/home/test

4, reboot,

Reboot

And then log in with Test,

After login, point menu "system-System management-users and Groups", go in to select your users, point to the right of the "Properties" button, to the user rights to tick.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.