cifslogin(1)cifslogin(1)NAME
cifslogin, cifslogout - login to, logout from CIFS servers
SYNOPSIS
[options] server
[options] //server/share
{server |
Obsolescent:
[options] server [username]
DESCRIPTION
and are part of the software bundle. For detailed information, refer
to the HP CIFS Client Administrator's Guide and Release Notes, avail‐
able at http://docs.hp.com.
authenticates the invoking HP-UX user on the CIFS fileserver server,
thereby enabling the user to access shared directories on the server
that have been mounted on the local host. Only users with root privi‐
lege can mount remote filesystems; see mount_cifs(1M) and cifs‐
mount(1M).
If no username is given (see the option), assumes that the remote CIFS
account name is identical to user's HP-UX login name, otherwise, the
specified username is used. If no password is given on the command-
line (see and cifslogin prompts the user to enter one.
The first form of given above is used with user-level security; the
second with share-level. The obsolescent form is maintained for back‐
wards-compatability with earlier releases of the CIFS Client.
The user's login credentials for server can be saved in an encrypted
user-database (see the option and cifsdb(1M)), such that future logins
occur transparently; the user will be logged in automatically, using
the stored credentials, when simply attempting to access a mounted
share on server, without explicitly invoking
terminates active CIFS login sessions, whether established manually,
via or automatically, via the user database.
Options
recognizes the following options:
Login to server as username. If this option is not used,
but is specified, the CIFS Client transmits the
user's HP-UX login name as the remote account
username.
Use this password to login to server. If this option and
are not used, but is specified, prompts the user
for password. The option should be used only if
necessary, because command-line parameters may
appear in the output of ps(1). This option pro‐
vides the possibility of passing a dynamically-
generated password to the server.
This option specifies to
server that the user should be authenticated in
the given CIFS domain. This argument overrides
any domain setting in the configuration file.
Do not prompt for
password. This option may be used if the user
does not have a password, or to force "auto-
login" for this request (see the Administrator's
Guide for detailed information on auto-login
methods available with the CIFS Client).
Read password from stdin (implies This option may be
useful when using from a shell script or another
program. The option is insecure for this purpose,
because ps(1) can show command-line parameters of
running processes.
Transmit password unencrypted. This is a security risk
and should be used only if the server does not
allow password encryption.
If the login succeeds, store the server name and the user's
login
credentials in the user database, such that the
user's future logins to server can be established
automatically (without invoking when the user
attempts to access the local directory at which a
share on the server has been mounted.
The CIFS Client does not store unencrypted pass‐
words in the user database; this option cannot be
used for servers that do not support password
encryption.
See cifsdb(1M) for more information on storing
CIFS Client mounts and logins.
Show short help.
Show version information.
recognizes the following options:
Terminate all of user's active CIFS login sessions.
List server name for each successful logout. Normally,
a successful produces no output.
Show short help.
Show version information.
EXAMPLES
Login to the mounted CIFS server using the remote-account name such
that prompts for password:
Logout from the server
Terminate all of the user's active CIFS login sessions and list the
server name for each successful logout:
FILES
CIFS Client mount database
CIFS Client user database
CIFS Client configuration file
AUTHOR
and were developed by Objective Development Software GmbH and Hewlett-
Packard.
SEE ALSOcifsdb(1M), cifslist(1), cifsmount(1M), mount_cifs(1M).
cifslogin(1)