Linux user management related documents

User and user group management-2.1 User management related files

Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below, I will correct it as soon as possible

1. The user's home directory

  • Ordinary user: / home / username / (The default owner and group of this directory are both this user and the permissions are 700)
  • Super user: / root / (The default owner and the group to which this directory belongs are both root users with permissions of 550)
  • Note: Changing other users to super users should correct the user's UID, but his home directory will not change,

2. User's mailbox

  • / var / spool / mail / username /

3. User template directory

  • /etc/skel/
  • Files will be copied from here when adding new users

Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> ؂ <๑)

Published 341 original articles · praised 33 · 40,000+ views

Guess you like

Origin blog.csdn.net/qq_43479432/article/details/105606841