Linux file permissions

Source: Internet
Author: User

The core of Linux security system is the user account, each person who accesses the Linux system should have the assigned, unique user account,

/ETC/PASSWD contains several information related to Linux users;; As follows:

User name: User password: uid:gid: Comment field: Home directory: default shell;;

Observing the/etc/passwd file we found that the account password is x, not that all account passwords are the same (x), but that they all use a shadow file to store the password information in their location/etc/shadow;

Useradd is a way to add new users; which Useradd//view its location, and properties

    

Userdel by default, only the information in the/etc/passwd is deleted, and the files that the user owns in the system are not deleted;

The-r parameter deletes the user's home home directory and mail directory;

To modify your account information:

Usermod Edit user account information

passwd Modifying an existing user password

CHPASSWD Batch modification user password;;

Linux file permissions

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.