[Gllug] Mounting SMB shares on X Login

rich at annexia.org rich at annexia.org
Tue Dec 11 18:27:44 UTC 2001


On Mon, Dec 10, 2001 at 05:16:07PM +0100, Jonathan Dye wrote:
> At 17:06 10/12/01 +0000, you wrote:
> >On Mon, 2001-12-10 at 16:53, Daniel Fairs wrote:
> >> Does anyone know how to let users mount shares with smbmount (it complains
> >> that it has to be run as root)? Otherwise, how will smbmount get the
> correct
> >> authentication information? 
> >You need to alter the permissions on the smbmount executable.
> >
> >This makes it less secure but not much I think.  Have a look on google
> >for set UID
> 
> Yikes, then anyone can mount any smb share anywhere surely?  Also, you
> would be able to mount the files with a UID=0 and permission to execute
> files thereby letting anyone have root access effectivly.

Sounds like a job for 'sudo' ...

Rich.

-- 
rich at annexia.org | Is your school part of http://www.schoolmaster.net ?
BiblioTech Ltd, Unit 2 Piper Centre, 50 Carnwath Road, London, SW6 3EG.
+44 20 7384 6917 | Free software: http://freshmeat.net/users/rwmj
Copyright © 2001 Richard Jones | GnuPG/PGP key from www.annexia.org

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list