[Pkg-samba-maint] Bug#699672: smbfs: smbmount on fuse possibility
yellowprotoss
yellowprotoss at gmail.com
Sun Feb 3 10:17:31 UTC 2013
Package: smbfs
Version: 2:4.5-2+squeeze1
Severity: wishlist
Hello,
alternatively to smbfs, I would like to propose that smbmount could be used with fuse.
smbclient and smbmount rock really. it works well, and you can use creditentials.
- A .smbclient
Please could add a possibility to "fuse-d" user can mount the samba shares to ~/samba
without asking the admin to add their names/paras into /etc/fstab or a sudo.
Fuse would be ideal for smbmount abnd ~/.bashrc to automatically mount it, though bit unsecured.
Kind regards
I could find furthermore that you must have root or fstab access for that. what about fuse?
If you want normal user to be able to mount network share such as samba/cifs or nfs...
you can add the following to the very end of /etc/sudoers file and restart.
# allow members of CDROM group to mount without prompting for root password
%cdrom ALL = NOPASSWD:NOEXEC: /bin/mount, /bin/umount, /sbin/mount.cifs, /sbin/mount.nfs
then add "sudo mount" etc etc to the users mount script.
example of samba mount
sudo mount.cifs //NetworkDrive/"Folder" "MountPoint" -o ip=NetworkServerIPaddress,username="$UN",password="$PW",nounix,noserverino,file_mode=0777,dir_mode=0777
It will NOT ask them for the root password, as the sudoers file stops them from needing it.
this works great for me..
The way I see it, if they have cdrom permissions and are sitting at my PC..
I trust them enough to mount a network share.
uPlease advise if it's a gaping hole in my security.
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages smbfs depends on:
ii cifs-utils 2:4.5-2+squeeze1 Common Internet File System utilit
smbfs recommends no packages.
smbfs suggests no packages.
-- no debconf information
More information about the Pkg-samba-maint
mailing list