LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Anthony Symons <ant@sa.pracom.com.au>
  To  : James Leone <Jleone@pacbell.net>
  Date: 29 May 2002 13:59:54 +0930

Re: Samba client for Linux

Yeah, I had that problem.

from rc.local:

su - ant -c "mount /mnt/server" &

The fork is to stop it stopping the box from finishing booting in case
something breaks and hangs it up. 

Ant


On Wed, 2002-05-29 at 13:38, James Leone wrote:
> It is guest only access. I have no passwords.
> 
> I had a script in init.d, and I was sucessful in mounting the shares. 
> However, because they are mounted before I log in as james, they are 
> designated as being owned by root. So I can't save anything from my 
> Linux workstation into the samba share when logged in as a regular user.
> 
> James
> 
> 
> 
> Michael Wardle wrote:
> 
> > 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
> >
> 
> 
> -- 
> 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
> 
-- 
Systems Administrator       
Pracom Ltd.             
+61 8 82029074 -=- +61 402 100 671 
anthony.symons@sa.pracom.com.au

PRIVILEGED - PRIVATE AND CONFIDENTIAL
This electronic mail is solely for the use of the addressee and may
contain information which is confidential or privileged.
If you receive this electronic mail in error, please delete it from
your system immediately and notify the sender by electronic mail or
using any of the above contact details.

-- 
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