1 / 6

Linux users and groups:

Done by: fatma almurr. Linux users and groups:. Username Password By default, all user home directories are created and maintained in the /home directory. However, the root user’s home directory is /root. How Linux User Accounts Work.

hasad
Download Presentation

Linux users and groups:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Done by: fatmaalmurr Linux users and groups:

  2. Username • Password • By default, all user home directories are created and maintained in the /home directory. • However, the root user’s home directory is /root How Linux User Accounts Work

  3. Linux is a very flexible operating system. One of its flexible features is the location of user accounts on the system. When you originally installed the system, your distribution may have given you several options for where you wanted to store your user accounts. This screen allows you to choose from the following authentication methods: Where Linux User Accounts Are Stored

  4. /etc/passwd This file contains the user account information for your system. /etc/shadow This file contains passwords for your user accounts. /etc/group This file contains your system’s groups. Local option

  5. If your Linux system has been configured to use local authentication, your groups are defined in the /etc/group file. Each record is composed of the following four fields: Group:Password:GID:Users GroupSpecifies the name of the group. In the example above, the name of the group is video. Password Specifies the group password. How Linux Groups Work

  6. GID Specifies the group ID (GID) number of the group. Users Lists the members of the group. As with /etc/shadow, each line in /etc/gshadow represents a record for a single group. Each record is composed of the following fields: Group_Name:Password:Group_Admins:Group_Members

More Related