HP CIFS Client A.02.02 Administrator's Guide
Commandline Utilities
cifslogin
Chapter 5 77
cifslogin
Synopsis
cifslogin [<
options
>] <
servername
> [<
username
>]
cifslogin [<
options
>] //<
servername
>/<share>
Description
The cifslogin command is used to authenticate additional users at a
server. Only authenticated users may access mounted files. Each user
accesses the file at the server with his or her privilege status at that
server. Because there must be a one-to-one (many=to-one) mapping from
local users to remote user names, every user can log in only once at a
given server. By default, cifslogin sends the user's login name to the
server. You can specify the username using -U option.
Options
-P <
password
>
Password given in commandline. Use this option only if
you really have to, because all commandline
parameters may show up in the output of the ps
command. It gives you the possibility to pass a
dynamically generated password to the server. The
password is ignored if the user is already logged in at
the server.
-U <
username
>
Login on the server as this user.
-D <domain name>
Specify the domain name that is sent to the server.
-S Reads the password from stdin. This option may be
useful if you want to use cifslogin from a shell script
or another program. The -P option is insecure for this
purpose because the Unix command ps can show the
commandline parameters of running processes.