HP CIFS Client A.02.02.03 Administrator's Guide

-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 login. When this option is used, the login is done even when the
server is not responding. No requests are sent to the server.
Consequently, none of the parameters can be checked for validity.
-s Saves password in database. Do not use unless you understand the
security implications. This option can maintain a database of mounts,
username, 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 have no possibility to ask the user for a password. Passwords
are stored in the HP CIFS Client's user database file. It is possible to get
the 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.
You can use this option safely only if you are the only one who has
physical or root access to your machine or if you trust everyone who
has this access. The HP CIFS Client does not store unencrypted passwords
in the user database. If your server does not support encrypted
passwords, you cannot use this option.
Examples
If local user steve has mounted a share from server bigserver, local user bill has no access to the
mounted files because he is not logged in at the server. Bill, who has an account on bigserver
under his real name miller, can do the following to gain access:
cifslogin bigserver -U miller
Bill will be prompted for a password and if it is correct, he will be given access to the share with
the same privileges that user miller has on bigserver.
Files
Usernames and passwords are stored encrypted in the HP CIFS Client's user database file. The
path to the user database file can be configured in HP CIFS Client's configuration file. The default
path is
/var/opt/cifsclient/cifsclient.udb
See Also
cifsmount, cifsdb, cifslogout, cifslist
cifsumount
You can use the umount command to execute the cifsumount command. Both commands are
shown below.
Synopsis
cifsumount [<options>]<mountpoint>
38 Commandline Utilities