NO Sudo Password for smbfs shares How? ALMOST THERE

Wayne Davis waydavis at cox.net
Tue Mar 27 13:05:39 MST 2007


OK, 75% of my problem is solved: There was NOTHING wrong with the 3 
shares on my NAS device. They come up without a hitch. The MP3 share is 
on a computer. Heres the results right after a boot. Look what happens:

wayne at wayne-ivan:~$ *mount*
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.17-11-generic/volatile type tmpfs (rw)
//NAS/ACRONIS on /home/wayne/SMB/NAS-Acronis type smbfs (rw)
//NAS/MAIN on /home/wayne/SMB/NAS-Main type smbfs (rw)
//NAS/UBUNTU on /home/wayne/SMB/NAS-Ubuntu type smbfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

wayne at wayne-ivan:~$ *sudo mount //WILLY/MP3*
Password:
Password:

wayne at wayne-ivan:~$ *mount*
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.17-11-generic/volatile type tmpfs (rw)
//NAS/ACRONIS on /home/wayne/SMB/NAS-Acronis type smbfs (rw)
//NAS/MAIN on /home/wayne/SMB/NAS-Main type smbfs (rw)
//NAS/UBUNTU on /home/wayne/SMB/NAS-Ubuntu type smbfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
*//WILLY/MP3 on /home/wayne/SMB/MP3 type smbfs (rw)


*wayne at wayne-ivan:~$






irb wrote:
> * Quoth Wayne Davis (waydavis at cox.net), on Tue, 2007.03.27, at 10:56 -0700:
>   
>> NO references to "smb" at all in dmsg
>>     
>  
> Are you being asked for a Samba password or a sudo password? In the case
> of the latter you'll want to adjust that with visudo. Something like,
>
> <username> ALL=(ALL) NOPASSWD: /sbin/mount /home/wayne/SMB/NAS-Ubuntu
>
> (do test that out first, I've not)
>
> /i.
> ---------------------------------------------------
> 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
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070327/8a5290b1/attachment-0001.htm 


More information about the PLUG-discuss mailing list