Problem
Is it possible to generate a report of the lock status or login activity of terminals and users from the command line or sysadmsh?
Solution
It is possible to generate a report of the lock status of any or all
terminals or users on the system. Using sysadmsh, the menu selection
is Accounts> Report> Terminal; or, from the command line:/tcb/lib/report.term 1 ttya - reports on 1 named terminal /tcb/lib/report.term 2 ttya ttyb - reports on a range of terminals from ttya to ttyb /tcb/lib/report.term 3 - reports on all terminals
For locked users, the sysadmsh menu selection is
Accounts> Report> Login> User. The command line
equivalents are:/tcb/lib/report.login 1 user1 - reports on 1 named user /tcb/lib/report.login 3 user1 user2 - reports on a range of users from user1 to user2 /tcb/lib/report.login 6 - reports on all users
NOTE: The /tcb/lib/report.* programs are currently undocumented. They are scheduled to be documented in a future release.