Bryan Scaringe wrote:
>
> since /sbin is not (by default) in a normal users path, you must
> use "./halt" if you are in the /sbin directory, or /sbin/halt, otherwise.
>
> But I don't think you want to do this. do yourself a favor:
>
> Restore the original permissions to halt, and look up "su".
>
> Bryan
But it's not very nice to identify yourself as beeing root and run "halt"
instead of running "halt" as ordinary user. I have tried sometime to use the
file /etc/shutdown.allow in order to halt a computer as normal user, but it
doesn't work anyway. Has someone tried this? It works?
Thanks,
Cata.
> > Ladies and Gentelmen,
> >
> > I should like to halt or reboot as user.
> > I gave to the user the privilege to HALT using the Redhat GUI tool.
> > The permissions for halt file are rwx r-x r-x.
> > The halt file is in /sbin.
> > When I try to halt as user I get the message halt: command not found.
> > Even if I go to /sbin with cd /sbin the message is the same.
> >
> > As root I can halt without problems.
> >
> > How can I halt as user ?
--
Catalin Bucur \|/
Hardware engineer ^(o o)^
mailto:[EMAIL PROTECTED] ~~~~~~~~~oOO~~(_)~~OOo~~~~~~~~~