report(ADM)


report.expire, report.login, report.term -- generate reports for the authentication database

Syntax

/tcb/lib/report.* report_type [ args ]

/tcb/lib/report.expire 1|2|3|6
/tcb/lib/report.expire 4|5 name

/tcb/lib/report.login 1|2|4 name
/tcb/lib/report.login 3|5 name1 name2
/tcb/lib/report.login 6|7

/tcb/lib/report.term 1 name
/tcb/lib/report.term 2 name1 name2
/tcb/lib/report.term 3

Description

These programs print reports on the standard output from information in the authentication database. Report printing is normally accessed by using the Reports Manager.

Only root may run these programs directly. Users with the auth subsystem authorization may run them via the SCOadmin manager.

report.expire generates the following password status reports depending on the numeric value of report_type:


1
Report expired passwords.

2
Report dead passwords.

3
Report impending password expirations.

4
Report the protected password database information for user name.

5
Report the protected password database information for users in group name.

6
Report the protected password database information for all users.
report.expire is invoked when you select the Reports Manager.

report.login generates the following reports on login activity depending on the numeric value of report_type:


1
Report login activity for user name.

2
Report login activity for users in group name.

3
Report login activity for user IDs in the range name1 to name2.

4
Report login activity for terminal name (the special file in /dev, for example tty1a).

5
Report login activity for terminals in the range name1 to name2.

6
Report login activity for all users.

7
Report login activity for all terminals.
report.login is invoked when you select the Reports Manager.

report.term generates the following reports on terminal lock status depending on the numeric value of report_type:


1
Report the lock status of terminal name (the special file in /dev, for example tty1a).

2
Report the lock status of terminals in the range name1 to name2.

3
Report the lock status of all terminals.
report.term is invoked when you select the Reports Manager.

Examples

View on screen a report of the login activity of all users:

/tcb/lib/report.login 6 | pg

Print a report of the lock status of terminals /dev/tty1a to /dev/tty1f:

/tcb/lib/report.term 2 tty1a tty1f | lp

See also

prpw(F), ttys(F), subsystem(M)

Standards conformance

report.expire, report.login, and report.term are not part of any currently supported standard; they are an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005