Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2000 11:07:22 -0600
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Dennis I. Kovarsky" <kovarsky@duke.usask.ca>, "Omachonu Ogali" <oogali@intranova.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: user mounting /cdrom
Message-ID:  <026601bf807b$f3223020$020a0a0a@megared.net.mx>
References:  <Pine.OSF.4.20.0002250835260.12281-100000@duke.usask.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

    Try sudo its in "/usr/ports/security/sudo", it will let you do this in a
user or groups profiles.

Greetings
Ales

----- Original Message -----
From: Dennis I. Kovarsky <kovarsky@duke.usask.ca>
To: Omachonu Ogali <oogali@intranova.net>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Friday, February 25, 2000 8:45 AM
Subject: Re: user mounting /cdrom


> On Wed, 23 Feb 2000, Omachonu Ogali wrote:
> > Add that line to /etc/rc.local, that should work.
> >
> > On Wed, 23 Feb 2000, Dennis I. Kovarsky wrote:
> >
> > > QUESTION: How can you allow users (better yet - groups) to mount
/cdrom
> > > without having to su?
> > >
> > > TESTED: sounds like sysctl is the way to go. But... Created
/etc/rc.sysctl
> > > with sysctl -w vfs.generic.usermount=1 in there... rebooted... no
luck.
> > >
> > > Any ideas? Am I gonna have to write my own mount? ;)
>
> That didn't work either. So far I have tried all combinations of the
> following:     ;)
>
> - su
> - create file /etc/rc.sysctl with "sysctl -w vfs.usermount=1" in it
> - create file /etc/rc.local with --//-- in it.
> - chmod 777 /cdrom (drastic times call for drastic measures)
> - --//--    /dev/acd0c
>
> The fact is, sysctl vfs.usermount DOES report 1, yet when trying to mount
> from a wheel user I still get opration not permitted... Is there a
> specific xxx.usermount for iso9660? Should I try something more specific
> than just mount /cdrom when mounting?
>
> running 3.4-release
> compaq deskpro 2000
> 64M ram
>
> Thank you.
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?026601bf807b$f3223020$020a0a0a>