I'm trying to use files from Windows box in Linux.
If I use
If I put a line in /etc/fstab
When putting credentials parameter in /etc/fstab
/root/.passwdfile has two lines :
putting Quotation marks around password=Abc.DF
and by typing Abc.DF ==> success
Security policy in Windows box is requiring dot(.) in pasword string.
Any Idea ???
You cannot use the credentials file for passwords containing special characters like "." or ",".
Source: Manpage mount(8)
A solution would be to set up an environment variable for this share. The
I haven't read of escaping special characters in the credentials file.
I found a bug entry for your issue, propably, you would like to participate or get notified:
There are several posts on the mailing list about this topic: List linux-cifs-client "password credentials file"
guerda's answer is quoting text that says the exact opposite. It should be okay to have special characters in the credentials file, it is on the command line that they cannot be parsed.
answered 09 Dec '10, 11:05