On Tue, 31 Jul 2001, Darcy Brodie wrote:

> Thanks for all the suggestions.  I did finally set the halt and shutdown
> commands to UID root, and that has solved my problems.

I believe that you are over-trusting your local users. 'halt' and
'shutdown' have a couple of dangerous switches (halt -f, shutdown -n,
shutdown -f, shutdown -F)

Why exactly do you need users to shut down the system from the
command-line? Remote or local users?

What's wrong with pressing ctrl-alt-del from the console?

> > > >>>>>>On Saturday 02 June 2001 01:24 pm, Darcy Brodie wrote:
> > > >>>>>>>Hello
> > > >>>>>>>    I know that it isn't a good idea to give normal users root
> > > >>>>>>>access, but I need to set up a couple of Mandrake boxes (they will
> > > >>>>>>>only be in text mode, as these will be remote terminals to a Unix
> > > >>>>>>>network) so that a normal user can shut down without having to
> > > >>>>>>>login as root.  The process needs to be as simple as possible, to
> > > >>>>>>>prevent the user from messing it up

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



Reply via email to