HP CIFS Client A.01.09 Administrator's Guide, August 2003

CIFS Security and Authentication
User Authentication Methods
Chapter 3 41
e. As the HP-UX user cifsunix, log in to ntsrv01 as cifspub:
$ su cifsunix -c “cifslogin ntsrv01 cifsguest -s
Remote user cifsguest’s password:cifspass
Now, when any other UNIX users on the CIFS Client HP-UX
host who have not logged into the CIFS server ntsrv01 try to
access the mountpoint, /tmnt/cifs01, they will automatically
access it as if they were UNIX user cifsunix and CIFS server
user cifsguest. The -s option to cifslogin (step e) saves the
username/password pair in the CIFS Client user database. This
allows all future guest users access to occur without any user
having to previously invoke cifslogin as user cifsunix.