LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: James Leone <Jleone@pacbell.net>
To : Michael Wardle <michael.wardle@adacel.com>
Date: Tue, 28 May 2002 21:08:44 -0700
Re: Samba client for Linux
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
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page