The translation is temporarily closed for contributions due to maintenance, please come back later.
English Sinhala
Adding a New Group
Adding a New User
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:++[Access Control Lists]_ chapter of the [citetitle]_link:++[Red Hat Enterprise Linux 7 System Administrators Guide]_.
Additional Resources
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:
Add the following lines to the `/etc/screenrc` configuration file to close the [command]#screen# session after a given period of inactivity:
Add the `myproject` group to the system:
Add users to the `myproject` group:
A directory for user `juan` is created in the `/home/` directory:
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 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 list of all groups is stored in the `/etc/group` configuration file.
All other fields are blank.
Allow users in the group to create files within the directory and set the setgid bit:
Alternatively, you can configure the system to only lock the session by using the following lines instead:
A new line for a group named `juan` is created in `/etc/group`:
A new line for a group named `juan` is created in `/etc/gshadow`:
A new line for `juan` is created in `/etc/passwd`:
A new line for `juan` is created in `/etc/shadow`:
An exclamation mark (`!`) appears in the password field of the `/etc/gshadow` file, which locks the group.