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
    
 
User Commandsprojects(1)


NAME

 projects - print project membership of user

SYNOPSIS

 projects [-dv] [ user]

DESCRIPTION

 

The projects command prints on standard output the projects to which the invoking user or an optionally specified user belongs. Each user belongs to some set of projects specified in the project(4) file and possibly in the associated NIS maps and LDAP databases for project information.

OPTIONS

 

The following options are supported:

-d
Prints only default project.
-v
Prints project descriptions along with project names.

OPERANDS

 

The following operand is supported:

user
Displays project memberships for the specified user.

EXAMPLES

 Example 1. Displaying membership for a specified user
 
 
example$ projects paul
default beatles wings
example$ projects ringo
default beatles
example$ projects -d paul
beatles

EXIT STATUS

 

The following exit values are returned:

0
Successful completion.
1
A fatal error occurred during execution.
2
Invalid command line options were specified.

FILES

 
/etc/project
Local database containing valid project definitions for this machine.

ATTRIBUTES

 

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

getdefaultproj(3PROJECT), getprojent(3PROJECT), project(4), attributes(5)


SunOS 5.9Go To TopLast Changed 21 Sep 2001

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