authck.1m (2010 09)

a
authck(1M) authck(1M)
(TO BE OBSOLETED)
NAME
authck - check internal consistency of Authentication database
SYNOPSIS
authck [-p][-t][
-a][-v]
DESCRIPTION
The
authck command only works for systems that have been converted to trusted mode.
authck checks both the overall structure and internal field consistency of all components of the Authen-
tication database. It reports all problems it finds. Only users who have the superuser capability can run
this command. When
pwck is used with the
-s option, authck is run with the -p option automati-
cally.
Options
authck recognizes the following options and tests:
-p Check the Protected Password database. The Protected Password database and
/etc/passwd are checked for completeness such that neither contains entries not in the
other. The cross references between the Protected Password database and
/etc/passwd
are checked to make sure that they agree. If a user does NOT exist in
/etc/passwd but
exists in the Protected Password database, then all inconsistencies are reported. Fields in
the Protected Password database are then checked for reasonable values. For example, all
time stamps of past events are checked to make sure that they have times less than the
times returned by time (2).
-t Fields in the Terminal Control database are checked for reasonable values. All time
stamps of past events are checked to make sure they have times less than those returned by
time(2).
-a Shorthand equivalent of using the -p and -t options together in a single command.
-v Provide running diagnostics as the program proceeds. Produce warnings when unusual
conditions are encountered that might not cause program errors in login, password and su
programs.
WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
FILES
/etc/passwd System password file
/tcb/files/auth/*/*
Protected Password database
/tcb/files/ttys Terminal Control database
/tcb/files/auth/system/default
System Defaults database
/usr/sbin/authck
AUTHOR
authck was developed by HP.
SEE ALSO
getprpwent(3), getprtcent(3), getprdfent(3), authcap(4).
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)