System Administration Guide, Volume 2

Example--Displaying a User's Login Status

The following example displays login status for the user rimmer.


# logins -x -l rimmer
rimmer       500     staff           10   Arnold J. Rimmer
                     /export/home/rimmer
                     /bin/sh
                     PS 010170 10 7 -1

rimmer

Identifies the user's login name. 

500

Identifies the UID (user ID). 

staff

Identifies the user's primary group. 

10

Identifies the GID (group ID). 

Arnold J. Rimmer

Identifies the comment. 

/export/home/rimmer

Identifies the user's home directory. 

/bin/sh

Identifies the login shell. 

PS 010170 10 7 -1

Specifies the password aging information: 

  • Last date password was changed

  • Number of days required between changes

  • Number of days allowed before a change is required

  • Warning period