NO Sudo Password for smbfs shares How?

Robert ssjgolleta at anima-web.us
Tue Mar 27 12:05:00 MST 2007


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 at 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 at anima-web.us>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070327/7d2b6683/attachment.htm 


More information about the PLUG-discuss mailing list