Mark Dootson <mark.doot...@znix.com> writes:

> mount -t cifs -o user="User Name",password=mypassword
> //10.10.10.10/sharedfs /mnt/cifstest

You can also store the credentials in a file (readable by root only),
e.g.:

  mount -t cifs -o credentials=/etc/local/cifs.credentials

/etc/local/cifs.credentials contains:

+---
|username=User Name
|password=mypassword
+---

HTH,

-- Johan

Reply via email to