Fedora 13 Samba weirdness

kalinix calin.kalinix.cosma at gmail.com
Fri Aug 13 11:08:48 UTC 2010


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?


Thanks,
-- 


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=================================================
Q: Why should you always serve a Southern Carolina football man soup in
a plate? A: 'Cause if you give him a bowl, he'll throw it away.



More information about the users mailing list