Linux Account Management Summary "not finished"

Source: Internet
Author: User

Linux Account Management Summary

First, new and delete users

1, useradd new users

Grammar:

Useradd user account name [-u UID] [-G initial user Group] [-G secondary user group] [-mm] [-C description] [-D Home folder absolute path] [-s Shell]

-U:

-G:








2. Related Documents

1)/etc/passwd

2)/etc/shadow

3)/etc/group

4)/Home


3, passwd set, change password












4, usermod Modify user information













5, Userdel Delete user-related information






6, ID query someone related uid/gid













7, groupadd New user group








8, Groupmod for group related parameter modification







9, GPASSWD






10, su Switch user









11. Sudo









12, W, who, last, Lastlog query users







13, write, MESG, wall users to talk about






14. Mail User Email mailbox





Linux Account Management Summary "not finished"

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.