Linux User and user group profile timestamp

Source: Internet
Author: User
  • Linux System account file mainly has/etc/passwd,/etc/shadow,/etc/group,/etc/gshadow four files, which and user-related files/etc/passwd user profiles,/etc/ Shadow shadow password file, and user group-related files/etc/group,/etc/gshadow
  • /ETC/PASSWD User Configuration Files
    3./etc/shadow Shadow password file
    4.useradd Add user will change/etc/passwd,/etc/shadow,/etc/group,/etc/gshadow four files.
    Groupadd Adding a user group will change the/etc/group,/etc/gshadow file.
    passwd setting a password for a user changes/etc/shadow.
    5. Time Stamp
    Modify modify file content time, Find-mtime
    Change file attribute time, Find-ctime
    Access file time, Find-atime
    View above file attribute time: Stat/
    Format attribute time: Find-l--time-style=long-iso/
  • Linux User and user group profile timestamp

    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.