Re: Shutdown or Reboot



On Thu, 11 Feb 2010 10:08:20 -0800
Geoffrey Leach <geoff hughes net> wrote:

> Ah! Well, have you tried renaming /sbin/shutdown to see what happens? 
> If that works, replace it with a shell script that prints the 
> parameters.

Yes, that's how I found out that /sbin/shutdown is called with root
privileges. Additionally, I saw that /sbin/shutdown is called by a
script that belongs to consolekit.

Regards
  Christoph


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