Re: Fedora 13 Samba weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux