Re: NO Sudo Password for smbfs shares How? ALMOST THERE

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Wayne Davis
Date:  
To: Main PLUG discussion list
Old-Topics: Re: NO Sudo Password for smbfs shares How?
Subject: Re: NO Sudo Password for smbfs shares How? ALMOST THERE
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@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@wayne-ivan:~$ *sudo mount //WILLY/MP3*
Password:
Password:

wayne@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@wayne-ivan:~$






irb wrote:
> * Quoth Wayne Davis (), 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 -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss