Phillip Rose wrote:
Here's how I do it on RH 9. I'm curious to see other solutions. This is the pertinent line from my /etc/fstab: //windoze_machine/windoze_share /mnt/win_g smbfs username=yrs_truly,password=secret 0 0
This involves putting my user passwd in clear text in my fstab, so I limit even read access to this file to root. You can use uid or gid instead of uname, of course. I would only do this at home, btw, and then only behind a firewall (I use Smoothwall).
--Phillip Rose
At 19:45 06/09/03 -0500, Justin Georgeson wrote:
I don't like having to su to root every time I want to mount a windows share.
[jgeorgeson@dragonfly ~] $ smbmount //dragon/Music tmp/ Password: smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1 [jgeorgeson@dragonfly ~] $
I don't have this limitation with the binary packages for debian, so I assume it's either a compile time option or a runtime configuration setting. Ultimately, I'd like to have /etc/fstab entries like this
//dragon/Music /mnt/net/Music smb noauto,user,gid=100 0 0
(I'm the only user, so there's no danger of people mounting and unmounting behind each other)
-- ; Justin Georgeson ; http://www.lopht.net ; mailto:jgeorgeson@xxxxxxxxx ; "Free the mallocs, delete the news"
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list