Linux users, Rights management

Source: Internet
Author: User

Useradd account name-M add account

SU account name switch account

sudo passwd account name change password

WhoAmI Current User

SSH user name @ip address remote control

CAT/ETC/PASSWD to see if the creation was successful

Who is currently logged in

sudo userdel account name does not delete home directory

sudo userdel account name-R-Delete home directory

Su-Account Cut home directory

Sudo-s switch to Super admin Ubuntu specific

sudo groupadd name creation Group

Groupdel Deleting a group

Groupmod knocking Tab Health

sudo usermod-a-g sudo name

Chown Username file name modify file owner

CHGRP group name file name files reorganization

Linux users, Rights management

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.