Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
SunOS/BSD Compatibility Package Commandsgroups(1B)


NAME

 groups - display a user's group memberships

SYNOPSIS

 /usr/ucb/groups [user ...]

DESCRIPTION

 

With no arguments, groups displays the groups to which you belong; else it displays the groups to which the user belongs. 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. If you do not own a file but belong to the group which it is owned by then you are granted group access to the file.

FILES

 
/etc/passwd
/etc/group

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWscpu

SEE ALSO

 

getgroups(2), attributes(5)

NOTES

 

This command is obsolete.


SunOS 5.9Go To TopLast Changed 14 Sep 1992

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.