Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 140: |
Line 140: |
| | | |
| |- | | |- |
− | |/etc/group||A group is a list of users. A group is identified by its group name and GID. In FreeBSD, the kernel uses the UID of a process, and the list of groups it belongs to, to determine what the process is allowed to do. Most of the time, the GID of a user or process usually means the first group in the list. | + | |/etc/group|| |
− | | + | |
− | The group name to GID mapping is listed in /etc/group. This is a plain text file with four colon-delimited fields. The first field is the group name, the second is the encrypted password, the third the GID, and the fourth the comma-delimited list of members. For a more complete description of the syntax, refer to [https://www.unix.com/man-page/freebsd/5/group/ group(5)].
| + | |
− | | + | |
− | The superuser can modify /etc/group using a text editor. Alternatively, [https://www.freebsd.org/cgi/man.cgi?query=pw&apropos=0&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html pw(8)] can be used to add and edit groups. See: [https://www.freebsd.org/doc/handbook/users-synopsis.html 3.3.3. Managing Groups]
| + | |
| |- | | |- |
| |/etc/hostid||Print the numeric identifier for the current host[https://www.unix.com/man-page/debian/1/hostid/] | | |/etc/hostid||Print the numeric identifier for the current host[https://www.unix.com/man-page/debian/1/hostid/] |