|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
Softpanorama Search
|
| News | Programs - Staf Wagemakers | Recommended Books | Unix Group Administration | Reference | |
| Unix grpck command | passwd | Expect | Managing user accounts in Perl | Humor | Etc |
The external groups command displays the groups to which you or a user belongs. All users belong to a group. The fourth colon-separated field of the /etc/passwd file defines the primary group to which you belong. You may also belong to other groups by being listed beside a group in the /etc/group file. You have group permissions for files or directories owned by one of the groups to which you are a member.The groups command is used to display all of the groups to which you belong. You may find it helpful to belong to several groups so you have certain access permissions for various directories and files. See Unix Group Administration
Following is the general format of the groups command.
groups [ user ... ]
Arguments
The following argument may be passed to the groups command.
| user | You can specify a list of users whom you want to know to which groups they belong. |
The groups command reads your user name and group ID from the /etc/passwd file, then searches the /etc/group file for any additional groups to which you belong.
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: August 08, 2009