kalinix writes:

> Today I saw a very weird behavior when mount samba shares.
> On F11, I used to mount samba shares with the following command:
> 
> mount //sambaserver/share /local/mountpoint -o username=USER
> 
> Then I was prompted for a password. This way, my password was never
> printed on the screen.
> Now on F13, when I tried the same scenario, I got an error message: 
> 
> share mount is write-protected, mounting read-only
> could not mount share in write protected mode.
> 
> After I googled around, I found that, in order to solve the problem, i
> have also to pass the password as an option to mount, like:
> 
> mount //sambaserver/share /local/mountpoint -o
> username=USER,passwd=PASSWORD
> 
> Only thing is, by doing this the password will show up in 'mount'
> output:
> 
> //sambaserver/share on /local/mountpoint type cifs
> (rw,user=USER,passwd=PASSWORD)
> 
> and is not visible to me only, but to any user on that system that runs
> mount command.
> 
> Does anyone knows how to avoid this?

Yes, provide the password via PASSWD environment variable or via a 
credentials file. man mount.cifs

--
Nux!
www.nux.ro

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to