English Sinhala
A new line for a group named `juan` is created in `/etc/gshadow`:
A new line for a group named `juan` is created in `/etc/group`:
Alternatively, you can configure the system to only lock the session by using the following lines instead:
Allow users in the group to create files within the directory and set the setgid bit:
All other fields are blank.
A list of all groups is stored in the `/etc/group` configuration file.
A group with the same name as a user is called a _user private group_. For more information on user private groups, see xref:Managing_Users_and_Groups.adoc#s2-users-groups-private-groups[User Private Groups].
A GID greater than 999 is created. Under {MAJOROS}, GIDs below 1000 are reserved for system use and should not be assigned to users.
A directory for user `juan` is created in the `/home/` directory:
Add users to the `myproject` group:
Add the `myproject` group to the system:
Add the following lines to the `/etc/screenrc` configuration file to close the [command]#screen# session after a given period of inactivity:
Add the following lines at the end of the `/etc/profile` file to start a [command]#screen# session each time a user logs in to a virtual console or remotely:
Additional Resources
Additionally, {MAJOROS} supports _access control lists_ (*ACLs*) for files and directories which allow permissions for specific users outside of the owner to be set. For more information about this feature, see the [citetitle]_link:++https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Access_Control_Lists.html++[Access Control Lists]_ chapter of the [citetitle]_link:++https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/index.html++[Red Hat Enterprise Linux 7 System Administrators Guide]_.
Adding a New User
Adding a New Group