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

 
> 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 ?
> 
> Thanks,
> 
> Cristian Carnutu
> 
> 

Reply via email to