RE: Mounting premissions


Subject: RE: Mounting premissions
From: Leif Sawyer (lsawyer@gci.com)
Date: Wed Jan 08 2003 - 11:24:36 AKST


Reboot? What do you think this is, a micky-soft product?

The changes take place immediately, the next time somebody tries
to mount the specified device..

> -----Original Message-----
> From: Adam Elkins [mailto:i-robot@gci.net]
> Sent: Wednesday, January 08, 2003 11:23 AM
> To: Leif Sawyer; aklug@aklug.org
> Subject: Re: Mounting premissions
>
>
> Do I have to reboot for changes to take effect? I'd rather
> not if theres a way
> around it....
>
> Adam
>
>
>
> On Wednesday 08 January 2003 08:05 am, Leif Sawyer wrote:
> > Put this (or make sure the entries look like this) in your
> /etc/fstab:
> >
> > /dev/cdrom /mnt/cdrom auto user,noauto,nosuid,exec,nodev,ro 0 0
> > /dev/fd0 /mnt/floppy auto user,noauto,nosuid,nodev,sync 0 0
> >
> > the 'user' portion lets normal users mount the media
> > the 'nosuid' makes sure that normal users can't mount foreign
> > set-uid binaries and become root
> >
> > notice that you can 'exec' files from a cdrom, but not from
> floppies.
> >
> >
> > You can copy the user,nosuid to any other mountpoint that
> > you want users to be able to mount.
> >
> >
> > That should be enough to get you going, yes?
> >
> > > -----Original Message-----
> > > From: Adam Elkins [mailto:i-robot@gci.net]
> > > Sent: Wednesday, January 08, 2003 7:45 AM
> > > To: aklug@aklug.org
> > > Subject: Mounting premissions
> > >
> > >
> > >
> > > I'm trying to let users mount drives, I'm thinking maybe a
> > > chmod is used, is
> > > this correct? I tried 'chmod 777 /dev/<device>
> > > It didn't work, I don't fully understand how to set
> > > premissions yet....
> > >
> > > Adam
> > >
> > > ---------
> > > To unsubscribe, send email to <aklug-request@aklug.org>
> > > with 'unsubscribe' in the message body.
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Jan 08 2003 - 11:24:41 AKST