On Sat, Mar 02, 2002 at 09:21:19PM +0530, Kingsly John wrote:
> On Sat, 2 Mar 2002, Shridhar Daithankar wrote:
> 
>  |On 2 Mar 2002 at 20:34, Kingsly John wrote:
>  |> On Sat, 2 Mar 2002, abrar hazarika wrote:
>  |>  |typed poweroff under root it says
>  |>  |bash:hihi: command not found
>  |> 
>  |> which poweroff
>  |> or 
>  |> alias poweroff 
>  |
>  |# cd /;find . -name poweroff
> 
> <nitpicking>
> find / -name poweroff 
> 
> would be more efficient ;-)
> </nitpicking>
> 

This is a compromise of root privileges, because of some sort
of callousness on part of the super user.

/sbin/poweroff is normally there with reboot and  halt in the
/sbin directory. Wonder if this "smart" user has diverted the
shutdown command itself. In which case, shut off the box with
halt -f (which will bypass shutdown).In case there are active
network interfaces, 'halt -i -f' would be a better option. Do
the power off portion manually.

Incidentally, what does the poweroff  command  produce ? This
rogue script would have to be removed ... check out /sbin for
files of recent origin.

HTH

Bish

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Searching for rpm package name                 LOST #238

Want to know to which package a particular executable or binary
on your rpm based distro lies ? Do : 
#rpm -qf `which <executable-file>`

####<[EMAIL PROTECTED]>####################
:



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to