HP CIFS Client A.02.01 Administrator's Guide

Commandline Utilities
cifsmount
Chapter 5 75
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 cifsmount 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 do 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.
-f Forces mount. When this option is used, the mount is
done even if the server is not responding. No requests
are sent to the server. Consequently, none of the
parameters can be checked for validity.
-v Print version information.
-s Saves mount and password in database. Do not use
unless you understand the security implications. HP
CIFS Client can maintain a database of mounts,
usernames, and passwords. This database is used at
startup to re-establish stored mounts and to log in
users on demand, even if you are not logged in at the
client.
This option may be useful for automounting and to run
programs by cron that cannot ask the user for a
password. Passwords are stored in the HP CIFS
Client's user database file. It is possible to get the HP
CIFS hash values of the passwords (which is
functionally equivalent to the passwords themselves)
out of this file, although the file itself is not sufficient.