ux_to_aa(1M) C2 Trusted DG/UX 5.4.2T ux_to_aa(1M)
NAME
ux_to_aa - add standard passwd & group entries to the Trusted A&A
database
SYNOPSIS
ux_to_aa [-v] [-u user] [-g group] passwdfile groupfile
where:
passwdfile is a source password file in the format of /etc/passwd.
groupfile is the source group file in the format of /etc/group.
DESCRIPTION
The ux_to_aa command adds entries from standard DG/UX® /etc/passwd
and /etc/group format files to the Trusted DG/UX Authentication &
Authorization database.
Options are:
[-v] Causes ux_to_aa to write the user names it processes to standard
output. (The group names are not written to standard output.)
[-u user] Specifies which user account in the existing A&A database to use
as a model when converting user entries from passwdfile.
The default user is proto.
[-g group]
Specifies which group in the existing A&A database to use as a
model when converting group entries group groupfile.
The default group is general.
EXAMPLES
$ su
# authck
# cp /etc/passwd /etc/passwd.saved
# cp /etc/group /etc/group.saved
# ux_to_aa -u modeluser -g modelgroup /etc/passwd /etc/group
# authck
FILES
/etc/passwd
/etc/group
DIAGNOSTICS
ux_to_aa writes all diagnostic and statistical messages to standard
error.
ux_to_aa exits with one of the following values:
0 /ux_to_aa has successfully added all user and group entries from
the source files to the Trusted A&A database.
255 /ux_to_aa has been invoked incorrectly (usage error) or there is
at least one erroneous group or user entry.
Licensed material--property of copyright holder(s) 1
ux_to_aa(1M) C2 Trusted DG/UX 5.4.2T ux_to_aa(1M)
NOTES
If you are attempting to add the /etc/passwd and /etc/group files to
the A&A database, save them before running ux_to_aa.
As ux_to_aa exits at the first error it encounters, run authck(1m)
first to verify that ux_to_aa has a valid pre-existing A&A database
to add to.
ux_to_aa processes groups before users. If ux_to_aa fails while
processing the groupfile, you must edit the groupfile to remove the
entries ux_to_aa cannot process.
Similarly with processing the passwdfile, ux_to_aa will fail at the
first user it cannot process. In this case, too, you must edit the
passwdfile to remove the entries ux_to_aa cannot process.
ux_to_aa reports duplicate group and user ids and always keeps the
entry in the pre-existing A&A database.
Always run authck(1m) after ux_to_aa successfully completes.
ux_to_aa only processes the entries in the specified source files.
If you want to include groups and users from the NIS domain, do the
following:
$ su
# ypcat group > domain.group
# ypcat passwd > domain.passwd
# vi domain.passwd
# vi domain.group
# authck
# ux_to_aa domain.passwd domain.group
# authck
SEE ALSO
passwd(4), group(4), aa_update(1M), authck(1M).
Licensed material--property of copyright holder(s) 2