Solaris CIFS Administration Guide

ProcedureHow to Store a CIFS Persistent Password

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.


Note –

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.


Note –

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:

  1. 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: