HP CIFS Client A.01.09 Administrator's Guide, August 2003
Commandline Utilities
cifslogin
Chapter 5 63
may supply the DNS name or the server's IP address
with this parameter. It is ignored if the server is
already connected.
-p <
portnumber
>
Sets the connection port. Netbios connections are
usually made on port 139. If you want to connect on a
different port, you can supply a decimal port number
with this parameter. This parameter is ignored if the
server is already connected.
-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.
-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.
-N Do not prompt for a password. This option may be used
to avoid prompting for a password if you are already
logged in at the server or if the user does not have a
password.
-u Enables plain text passwords. The HP CIFS Client
refuses to send passwords in plain text to the server by
default because this is a security risk. There are tools
available that sniff the network for plain text
passwords. If you really must send the password in
plain text (e.g., because your server does not allow
password encryption), you can enable it with this
option. It is ignored if you are already logged in at the
server.