LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Michael Wardle <michael.wardle@adacel.com>
  To  : James Leone <Jleone@pacbell.net>
  Date: Wed, 29 May 2002 12:58:16 +1000

Re: Samba client for Linux

James Leone wrote:
> I am trying to set about 10 Linux workstations as Samba clients (guest 
> accounts) with an automated share mount, but it appears that 
> smbfs(?)only allows root to mount these shares as a guest. I tried using 
> the chmod +s command on smbmnt/smbumount but no luck.

The mount command that's called to mount a SMB share is "smbmount" or 
"mount.smbfs", so if you wanted to setuid the samba mount binaries, 
you'd have to do those as well.

Do you need to specify a username?

To get the workstations automatically mounting a share on boot (or 
whenever "mount -a" is run), I'd put a line something like this in 
/etc/fstab...

//SERVER/share /mnt/share smbfs -o username=username,password=password

Hope this helps

-- 
MICHAEL WARDLE
SGI Desktop & Admin Software
Adacel Technologies Limited


-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page