Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home
groups
Tags: [linux, unix, command, groups]  ...
2. id
Command id Id command displays the user ID, group ID and user groups. Syntax id [options] [username] Options -g prints only the group ID. -n displays the name of the group, rather than group ...
Command groups groups command shows the groups to which the user belongs. Syntax groups [username] Description groups command displays the names of groups to which the user belongs. Unless specify ...
... modified exactly n days ago. -user name find files owned by the specified user. -group is the name of the files owned by these groups. -path pattern finds files with paths matching a pattern. -perm law ...
... this testu:*:1004:1002:testu:/home/testu:/usr/sbin/nologin testa:*:1005:1003:teata:/home/testa:/usr/sbin/nologin Create groups named 'all' and 'admin' and edit /etc/group file like this all:*:1002:testa ...
...  groupmod Modify a group.     groups Print the groups a user is in     id Print real and effective user id and group ids.     ...

Useful Links

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)