[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eject command for normal users and some other stuff



On Wed, 2003-11-26 at 18:34, H S wrote:
--snip--
> Next, for some reason, "eject" command is also root only? How do I
> make normal user also be able to use that as well?

The easiest way is to make the eject binary SUID root. (man chmod for
more info) Note that making ANYTHING SUID root is generally a bad idea.
But if you're more interested in ease of use than security per se, then
it gets the job done. I've been doing that on a couple of my systems for
over a year now and have yet to have anyone try to exploit it in any
way.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: