Mounting SMB shares without root

Jelmer Vernooij jelmer at nl.linux.org
Mon Jan 14 07:32:05 GMT 2002


> I tried this as well but I didn't have the same success.  I'm running SUSE 
> 7.3 w/ Samba 2.2.2 that I cofigured with the smbmount option.

> Here is my command and my results:

> jkonkol at suse:~> mount -t smbfs -o username=$ejwk //is1117/public 
> /home/jkonkol/mnt/test
> mount: only root can do that

> I have chmod a+s both the /home/jkonkol/mnt and /home/jkonkol/mnt/test 
> directories.

> Anyone have any ideas ??
Yes, put the option 'user' in the appropriate line (about the share
share you want to give the user access to mount) in /etc/fstab. 


> On Sunday 13 January 2002 15:34, Marc R. Hoffman wrote:
> > Cool...this did it! Thanks!!

> > On Sunday, January 13, 2002, at 03:14  PM, Jelmer Vernooij wrote:
> > >> Mandrake Linux lets me do this with no problems. How do I set the smbmnt
> > >> attributes for non-root usage?

> > > chmod a+s /location/to/smbmnt

> > > (Security issues with installing SUID binaries, blah blah)

> > > Jelmer

> > > --
> > > Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
> > > Development And Underdevelopment: http://library.thinkquest.org/C0110231/
> > > Listening to Radio 3FM
> > >  22:13:50 up  5:31,  6 users,  load average: 1.82, 0.82, 0.71

> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com



-- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
Development And Underdevelopment: http://library.thinkquest.org/C0110231/
Listening to Live: Simple Creed
 15:33:12 up 22:50, 10 users,  load average: 0.60, 1.66, 1.96




More information about the samba mailing list