I must apologise, for I misread the question. What I wrote below applies to 
(un)mounting fixed devices. For removable devices, you can add yourself to 
the disk, floppy and cdrom groups. This is relatively secure.

On Mon, 27 Aug 2001 00:38, Sridhar Dhanapalan wrote:
> The mount/unmount commands are only available to root because they are
> extremely powerful. Enabling a user to run root would be a _huge_ security
> risk if a cracker gets into your system.
>
> On Sun, 26 Aug 2001 23:35, Lanman wrote:
> > Thanks for the suggestion, Anguo, but sudo only allows a non-root user to
> > access a command for about 5 minutes, and I'd like to make this a
> > permanent change. I don't want to have to "revalidate" every time I want
> > to mount or unmount. If that's the case, it's just as easy to"su" to
> > root, and run the mount/umount commands instead.
> >
> > Lanman
> >
> > On Sunday 26 August 2001 09:16 am, you wrote:
> > > Lanman banged on their keyboard and produced the following arrangement
> > > of
> > >
> > > letters:
> > > | Is there a simple way to change permissions on "mount" and "umount" ?
> > > | I would prefer to have the ability to use "device" icons for my zip,
> > > | cdrom, and floppy drive, from the desktop, and logged on as a normal
> > > | user. Will chmod do it, or do I have to complicate matters? Is "sudo"
> > > | another option for this?
> > > | Lanman
> > >
> > > Following the links recently provided by Sridhar on this list, I
> > > learned more about sudo and used it for the first time today (wrote a
> > > little bash file with it).
> > >
> > > I think sudo would be applicable for you in this situation.
> > >
> > >
> > > Anguo
> >
> > ----------------------------------------
> > Content-Type: text/plain; charset="big5"; name="message.footer"
> > Content-Transfer-Encoding: 8bit
> > Content-Description:
> > ----------------------------------------

-- 
Sridhar Dhanapalan.
        "There are two major products that come from Berkeley:
        LSD and UNIX. We don't believe this to be a coincidence."
                -- Jeremy S. Anderson

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to