NAME
utuser - administer Sun Ray users
SYNOPSIS
/opt/SUNWut/sbin/utuser -a "token-id,server-name,server-
port,name,other-info" [ -r token-reader ]
/opt/SUNWut/sbin/utuser -af filename [ -r token-reader ]
/opt/SUNWut/sbin/utuser -ai current-token-id new-token-id
[ -r token-reader ]
/opt/SUNWut/sbin/utuser -d token-id
/opt/SUNWut/sbin/utuser -df filename
/opt/SUNWut/sbin/utuser -di current-token-id
/opt/SUNWut/sbin/utuser -e "token-id,server-name,server-
port,name,other-info"
/opt/SUNWut/sbin/utuser -ef filename
/opt/SUNWut/sbin/utuser -ei current-token-id [ enable |
disable ]
/opt/SUNWut/sbin/utuser -G
/opt/SUNWut/sbin/utuser -k { -xdisplay display | -tokenid
token-id }
/opt/SUNWut/sbin/utuser -l
/opt/SUNWut/sbin/utuser -lc
/opt/SUNWut/sbin/utuser -li substring
/opt/SUNWut/sbin/utuser -ln substring
/opt/SUNWut/sbin/utuser -L
/opt/SUNWut/sbin/utuser -Lc
/opt/SUNWut/sbin/utuser -Li substring
/opt/SUNWut/sbin/utuser -Ln substring
/opt/SUNWut/sbin/utuser -h
/opt/SUNWut/sbin/utuser -o
/opt/SUNWut/sbin/utuser -p token-id
/opt/SUNWut/sbin/utuser -r token-reader
DESCRIPTION
The utuser command allows the user to manage Sun Ray users
registered on the Sun Ray enterprise server that this com-
mand is run on. The information that utuser displays and
allows the user to add, edit and delete is stored in the Sun
Ray administration database. Other information is obtained
from the Sun Ray Authentication Manager.
utuser operations that only display information may be run
by any user. Operations that change or delete data must be
run by super-user root.
OPTIONS
The following options are supported:
-a Add user with the specified token-id, server-name,
server-port, name and other-information properties.
NOTE: The 5 comma-delimited values should be enclosed
within quotes. The other-information property is
optional. You must be root to use this option.
-af Batch add multiple users using input from the speci-
fied filename. The format of each line in the input
file is: token-id,server-name,server-port,name,other-
info You must be root to use this option.
-ai Add the specified new-token-id to the user that
currently has token current-token-id. You must be root
to use this option.
-d Delete the user with the specified token-id. Note that
this command deletes the user and all the user's
tokens. (To delete a single token without deleting the
user, use the -di option.) You must be root to use
this option.
-df Batch delete multiple users using input from the
specified filename. The format of each line in the
input file is: token-id However, you may use the out-
put of the -o option to feed this option as all argu-
ments after the first comma are ignored. Note that for
each token-id specified in the filename, this command
deletes the associated user and all the user's tokens.
(To delete a single token without deleting the user,
use the -di option.) You must be root to use this
option.
-di Delete token current-token-id from the user that
currently has it. The token to be deleted must not be
the user's only token. Note that this command does not
delete the user or any of the user's other tokens. (To
delete the user and all the user's tokens, use the -d
option.) You must be root to use this option.
-e Edit properties for the user with the specified
token-id by changing the server-name, server-port,
name and other-information properties to the specified
values. Note that the 5 comma-delimited values should
be enclosed within quotes. The other information pro-
perty is optional. You must be root to use this
option.
-ef Batch edit multiple users using input from the speci-
fied filename. The format of each line in the input
file is: token-id,server-name,server-port,name,other-
info You must be root to use this option.
-ei Enable or disable the specified token. You must be
root to use this option.
-G List all currently logged in users and the servers
they are logged into.
-k Kills user session associated with supplied token-id
(-tokenid token-id) or display (-xdisplay display)
value. You must be root to use this option.
-l List all users.
-lc List all users that are currently logged in.
-li List all users with token-ids that contain the speci-
fied substring.
NOTE: The substring comparisons are case-insensitive
-ln List all users with names that contain the specified
substring.
NOTE: The substring comparisons are case-insensitive.
-L List all users (long format).
-Lc List all users that are currently logged in (long for-
mat).
-Li List all users with token-ids that contain the speci-
fied substring (long format).
NOTE: The substring comparisons are case-insensitive.
-Ln List all users with names that contain the specified
substring (long format).
NOTE: The substring comparisons are case-insensitive.
-h Show usage information (this message).
-o Dump users list in comma-delimited format. The format
of each line output by this option is: token-id,
server-name, server-port, name, other-info
-p Show user properties for user with the specified
token-id.
-r When specified alone, this option reads a token-id
from the specified token reader. When specified with
the -a, -af or -ai options, the -r flag instructs
utuser to use the specified token reader to assist in
adding users or tokens whenever the character "x" is
used in place of a token-id. The command will prompt
you to insert the token into the specified reader when
its ready to read the token.
EXAMPLES
Example 1: To display all users that contain "parker" in
their user names:
$ utuser -ln parker
Example 2: To display all users that contain "9165" in their
token-ids:
$ utuser -li 9165
Example 3: To display the current properties for the user
with MicroPayflex.00004f9165000100 token-id:
$ utuser -p MicroPayflex.00004f9165000100
Example 4: To add a user with token-id
"MicroPayflex.00004f9265000100", server-name "localhost",
server-port "7007", user name "John Anderson" and other
information "C987":
# utuser -a "MicroPayflex.00004f9265000100,localhost,7007,John Anderson,C987"
Example 5: To add a user with unknown token-id, server name
"localhost", server port "7007", user name "John Anderson",
and other information "C987" by using the token reader
08002086e18f to read the token-id:
# utuser -a "x,localhost,7007,John Anderson,C987" -r 08002086e18f
Example 6: To add multiple users using input from the file
/tmp/users:
# utuser -af /tmp/users
Example 7: To edit the user with token-
id "MicroPayflex.00004f9165000100" and change its server
name to "localhost", server port to "7007", user name to
"John Parker" and other information to "D0001":
# utuser -e "MicroPayflex.00004f9165000100,localhost,7007,John Parker,D0001"
Example 8: To change the server name to "localhost", server
port to "7007" while clearing the user name and other infor-
mation properties for the user with token-id
"MicroPayflex.00004f9165000100":
# utuser -e "MicroPayflex.00004f9165000100,localhost,7007,,,"
Example 9: To edit the properties of multiple users using
input from the file /tmp/users:
# utuser -ef /tmp/users
Example 10: To delete the user with token-id
"MicroPayflex.00004f8c65000100":
# utuser -d MicroPayflex.00004f8c65000100
Example 11: To delete multiple users using input from the
file /tmp/users:
# utuser -df /tmp/users
Example 12: To add the token "MicroPayflex.00004f9165000101"
to the user that currently has token
"MicroPayflex.00004f9165000100":
# utuser -ai MicroPayflex.00004f9165000100 MicroPayflex.00004f9165000101
Example 13: To add the token currently inserted in token
reader 08002086e18f to the user that currently has
token "MicroPayflex.00004f9165000100":
# utuser -ai MicroPayflex.00004f9165000100 x -r 08002086e18f
Example 14: To delete the token
"MicroPayflex.00004f9165000101" from the user that currently
has it:
# utuser -di MicroPayflex.00004f9165000101
Example 15: To enable the token
"MicroPayflex.00004f9165000100":
# utuser -ei MicroPayflex.00004f9165000100 enable
Example 16: To disable the token
"MicroPayflex.00004f9165000100":
# utuser -ei MicroPayflex.00004f9165000100 disable
Example 17: To read a token from token reader 08002086e18f:
# utuser -r 08002086e18f
FILES
The /etc/opt/SUNWut/utadmin.conf file is used by this com-
mand.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWuta |
|_____________________________|_____________________________|
SEE ALSO
utdesktop(1M), utadmin.conf(4)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |