Interactions with a CIFS file server require authentication. For instance, when you view the shares available on a server or you try to mount a share on your system, the transaction is authenticated.
A persistent password is not needed when Kerberos is configured on the client and server and you have a Kerberos ticket-granting ticket (TGT). In such configurations, you can view and mount shares without specifying a password.
You can supply the password each time that you make a connection to the server, or you can store a persistent password to be automatically used for these transactions.
You can store a persistent password for each user on the CIFS server that you use to access shares.
The password you store persists until any of the following occur:
The CIFS client is rebooted.
The smbutil logout command is run for the user.
The smbutil logoutall command is run by superuser.
Store the persistent password for the CIFS server.
$ smbutil login user Password:
The following command stores the persistent password for terry@solarsystem. Each time Terry performs a transaction with solarsystem, the persistent password is used to perform the authentication.
$ smbutil login terry@solarsystem Password: