*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> groups (1)              


GROUPS(1)							     GROUPS(1)

NAME    [Toc]    [Back]

     groups - show group memberships

SYNOPSIS    [Toc]    [Back]

     groups [user]

DESCRIPTION    [Toc]    [Back]

     The groups	command	shows the groups to which you or the optionally
     specified user belong.  Each user belongs to a group specified in the
     password file /etc/passwd and possibly to other groups as specified in
     the file /etc/group.  Invoking groups without a user specified executes a
     getgroups system call, which returns the grouplist	of which the process
     is	currently a member.  This list will contain only the effective group
     ID	unless a multgrps call has been	executed; in that case it will contain
     all groups	in /etc/group to which the user	belongs.  If you do not	own a
     file but belong to	the group which	owns it	then you are granted group
     access to the file.

     When creating a new file, if the underlying filesystem was	mounted	with
     the BSD file creation semantics flag [see fstab(4)] or the	S_ISGID	bit is
     set [see chmod(2)]	on the parent directory, then the group	ID of the new
     file is set to the	group ID of the	parent directory, otherwise it is set
     to	the effective group ID of the calling process.

     The maximum number	of groups of which a process may be a member is
     defined (as an lbootable option) in /var/sysgen/master.d/kernel, named

SEE ALSO    [Toc]    [Back]

     multgrps(1), newgrp(1), id(1), setgroups(2), open(2)

FILES    [Toc]    [Back]

     /etc/passwd, /etc/group

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
freeifmaddrs FreeBSD get multicast group memberships
getifmaddrs FreeBSD get multicast group memberships
vgrestore HP-UX restore a VxVM disk group back to an LVM volume group
rpccp_remove_group HP-UX Removes all group members and the group from the specified name service entry
xshowcmap IRIX show colormap
w.procps Linux Show who is logged on and what they are doing.
debconf-show Linux 0debconf-show
who Linux show who is logged on
netstat OpenBSD show network status
showmount HP-UX show all remote mounts
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service