Yesterday I was looking for how to mount a samba share without sudo permissions. Here is a website that I found that explain how to enable smbmnt to be used by any user that is not root. Basically what is doing is changing permissions of the commands with this commands:

$ sudo chmod u+s `which smbmnt`
$ sudo chmod u+s `which smbumount`

http://www.debuntu.org/2006/05/31/58-how-to-smbfs-smbmnt-must-be-installed-suid-root

On Tue, 2007-03-27 at 00:23 -0700, Wayne Davis wrote:
I have the following in Fstab:

//NAS/UBUNTU          /home/wayne/SMB/NAS-Ubuntu      smbfs            
defaults   0   0


I also have it set up in Samba:



Every time I boot, I have to drop to a terminal and:     sudo mount 
/home/wayne/SMB/NAS-Ubuntu

It asks for a password.


QUESTION:   Can I setup the system to automatically mount the share 
without asking for the password?
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Robert <ssjgolleta@anima-web.us>