File System mounting prob

Xian ml-freebsd-newbies at codepad.net
Wed Jan 12 10:46:04 PST 2005


On Wednesday 12 January 2005 18:25, Emon wrote:
> Hello everyone
>
> I would appreciate some advice on the folling problems
>
> First....
>
> Is there any way to mount a filesystem, as a generel user? so
> that everytime I put a cd in the CD player I dont have to su to
> root just to mount it!
>
> Second....
>
> I can't find kppp(the dial up connecter that used to come with
> KDE) anymore!?? If KDE is not providing it any more, then is
> there any other (GUI) substitute for it?
>
> Thanks
> Jadukor
> ---------------------------------------------
> Free POP3 Email from www.Gawab.com
> Sign up NOW and get your account @gawab.com!!
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"

Set sysctl vfs.usermount to 1 to allow anyone to mount stuff. You can do this 
from the command line like `sysctl vfs.usermount 1` or every boot by putting 
a line 'vfs.usermount=1' in /etc/sysctl.conf. Then you need to allow people 
who are going to mount things have access to the drives so chmod them 666.
I have a script that chmods the drives on boot but this is a bodge cos its 
supposed to be done with devfs rules (man devfs for more info) but I am not 
so good at these (if anyone can help me as well here please).
This way works but I think it might have some security issues along the lines 
of suid files.
I've never used kppp so sorry I can't help here.

-- 
/Xian

"A tree only hits a car in self defence"
Unknown author


More information about the freebsd-newbies mailing list