logins — List User and System Login Information

Synopsis

/usr/bin/logins [-admopstux][-g group...][-l login...]

Description

Use the logins command to display information on user and system logins known to the system. You must be superuser to run this command. The default information displayed is login ID, user ID, primary group name, primary group ID, and the account field value. Output is sorted by user ID, system logins, followed by user logins.You can control the contents of the output with the command options. Such output can include user or system login, user ID number, passwd account field value (user name or other information), primary group name, primary group ID, multiple group names, multiple group IDs, home directory, login shell, ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.