There's something about Mary
You will want to read the manpage for mount.cifs as the error message indicates. Mary isn't an option.
Maybe you meant: -o username=mary.
It would be better to have a credentials file saved in a location that not everyone can read. For example ~/.credentials. the file should contain:
username=<username>
password=<password>
Add a domain= line if you need it. Then the option would be "cred=~/.credentials"
The reason to do this is that the /etc/password file is globally readable. You don't want a username and password in a file that everyone can read.
Last edited by jschiwal; 11-07-2008 at 01:51 AM.
Reason: Change from retorical to statement.
|