tpusradd - add a new principal on the system
TUXCONFIG=tuxconfig tpusradd [-u uid ] [-g gid] [-c client_name] usrname
Invoking tpusradd adds a new principal (user or domain) entry to the TUXEDO security data files. This information is used for per-user authentication with the AUTHSVR(5) server. A TUXEDO configuration with SECURITY set to USER_AUTH, ACL, or MANDATORY_ACL must be created before running this command successfully.
The system file entries created with this command have a limit of 512 characters per line. Specifying long arguments to several options may exceed this limit.
The following options are available:
The administrator is prompted for an initial password to be associated with the user.
Before running this command, the application must be configured using either the graphical user interface or tmloadcf(1). tpusradd must be be run on the configuration MASTER if the application is not active; if active, this command can run on any active node.
See AUTHSVR(5) for further information about per-user authentication and configuring administrator permissions.
This command is available only on non-/WS sites running TUXEDO System/T Release 6.0 or later.
The tpusradd command exits with a return code of 0 upon successful completion.
The following sequence of command invocations shows the construction of a simple user file.
$ # 1. Add usrname foo with wildcard cltname and no uid $ tpusradd -c '*' foo $ # 2. Add usrname foo with cltname bar and uid 100 $ tpusradd -u 100 -c bar foo $ # 3. Add usrname foo with tpsysadm cltname and no uid $ tpusradd -c tpsysadm foo
The following table shows the user entry (indicated by numbers shown above) used to authenticate various requests for access to the application and the associated uid/gid. N/A indicates that the request is disallowed because no user file entry exists to be matched against.
Usrname Cltname Password Entry Uid Gid ------- ------- -------------- --- --- "foo" "bar" 2 100 0 "foo" "" 1 1 0 "foo" "tpsysadm" 3 0 8192 "guest" "tpsysadm" N/A N/A N/A
Lastly, following is an example *SERVERS section entry for an instance of AUTHSVR that works with the user file generated above.
AUTHSVR SRVGRP=G SRVID=1 RESTART=Y GRACE=0 MAXGEN=2 CLOPT="-A"
tpgrpadd(1), BEA TUXEDO Administrator's Guide