getauth(8) [ultrix man page]
getauth(8) System Manager's Manual getauth(8) Name getauth, setauth, rmauth - auth database maintenance Syntax getauth [username] setauth rmauth username Description The command takes as it's only argument a user name or UID. If a user name is supplied it is converted to a UID by searching through The UID is then used to look up the users entry in the database. If an entry is found it is converted to an ASCII string with a syntax resem- bling that of the passwd file and printed out as a single line. If no entry is found nothing is printed and an exit status of `1' is returned. # getauth username 1000:idvidfy8d:1920129:3600:2678400:0e:0:1000:0:00:00 The first field is the UID of the entry which is used as the key into the database. Then follows: the encrypted password, password modifi- cation time, minimum password lifetime, maximum password lifetime, account mask, login failure count, audit ID, audit control, audit mask, and a reserved field. If the optional username argument is not supplied to getauth it will produce an output line for every entry in the auth database. The command expects one or more lines from the standard input which must be of a form identical to that produced by the command. The com- mand converts and stores these lines into the database, one entry per line, replacing any entry already existing for the given UID. By piping the output of the command into the input of the command an expensive NOP can be produced: # /usr/etc/sec/getauth | /usr/etc/sec/setauth The command expects exactly one argument, the user name or UID of an auth entry to be deleted. If the entry is found it is erased and deleted. If it is not found no action is taken and an exit status of 1 is returned. Restrictions Only the superuser and members of the group may read information from the auth database. Only the superuser may modify the auth database. Diagnostics An exit value of 0 indicates a successful operation. An exit status of 1 indicates the entry was not found on a lookup or deletion opera- tion. Any other exit status indicates an error. Files See Also getauthuid(3), getpwent(3), auth(5), edauth(8) Security Guide for Administrators getauth(8)
Check Out this Related Man Page
secauthmigrate(8) System Manager's Manual secauthmigrate(8) NAME
secauthmigrate - Convert ULTRIX auth(5) authentication data to authcap(4) authentication data (Enhanced Security) SYNOPSIS
/usr/sbin/secauthmigrate [options] files ... | /usr/sbin/secauthmigrate [options] - DESCRIPTION
The secauthmigrate utility reads records from the specified files or from standard input (-). These records must be formatted according to the ULTRIX auth(Section 5) format. These can be generated by getauth on ULTRIX, or (for the Hesiod/BIND master host) can be found in /var/dss/namedb/src/auth. For each authentication record found, secauthmigrate will attempt to find a matching username record for the given UID. If that translation can be performed, an authcap(4) entry for the extended profile information for that user is created from the data in the input record. If the extended profile entry already exists, then the converted entry is left in /tcb/files/auth/?/user- name:ULT rather than overwrite the entry in /tcb/files/auth/?/username. If ROOTDIR is defined, it is used instead of / as the root of the directory tree when creating the /tcb/files/auth/?/* files. FLAGS
-v Indicate successful conversions on standard output. -U Give a long usage message. ERRORS
Failed to find name for UID # xxxx -- skipped No BSD style (/etc/passwd or NIS data) account exists. If you need this account, create a BSD style account and run secauthmigrate again. Existing file for username -- conversion saved in /tcb/files/auth/?/username:ULT Extended profile already exists. Compare the files to determine the differences. If the differences are not related to the password, use the dxaccounts program to update the existing file. If the differences are related to the password, disable logins and edit the /tcb/files/auth/?/username file. secauthmigrate -- unrecognized option '${opt}' The option you provided was not recognized. The options are -v and -U. Usage: secauthmigrate [options] files (Try secauthmigrate -U for help.) The -U option provides extensive help. FILES
${ROOTDIR}/tcb/files/auth/?/* RELATED INFORMATION
authcap(4), prpasswd(4) auth(Section 5) and getauth(Section 8) on ULTRIX. Security delim off secauthmigrate(8)