Linux account management, users and groups

Source: Internet
Author: User
Linux account management, user and group user account commands useradd add new user account usermod set user account information userdel delete user account passwd change user account password chage change user account password life finger Show user account information c... linux account management, user and group user account commands useradd add new user account usermod set user account information userdel delete user account passwd change user account password chage change user account password life finger Show user account information chfn change user account real information chsh change user account login shellid show user account UID and GIDgroups show all group names of the user newgrp change user's current valid Group su switch user account w or who View currently logged-on account information last View recently logged-on account information lastlog view the recent logged-on information of each account Group account command groupadd add new group account groupmod set group account information groupdel delete set the group administrator for the group account gpasswd, related Files/etc/passwd user account information/etc/shadow user account password information/etc/group Information/etc/gshadow group security information can be used to create a group administrator/etc/ default/useradd default settings/etc/login. defs User Account logon settings/etc/skel/* User home reference baseline Directory
Related Article

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.