[plug] Accidental reboot

mem.namefix at gmail.com mem.namefix at gmail.com
Tue May 10 15:55:07 WST 2011


Have a reboot acount, set its shell to the reboot command and ensure it has permissions to exec reboot.
Sent via BlackBerry® from Telstra

-----Original Message-----
From: Brad Campbell <brad at fnarfbargle.com>
Sender: plug-bounces at plug.org.au
Date: Tue, 10 May 2011 15:46:35 
To: <plug at plug.org.au>
Reply-To: plug at plug.org.au
Subject: Re: [plug] Accidental reboot

On 10/05/11 15:38, Bret Busby wrote:
> On 10/05/2011, Brad Campbell<brad at fnarfbargle.com>  wrote:

>> Put together a quick /usr/local/bin/reboot
>> #!/bin/bash
>> echo Surprise!
>>
>> Problem solved. Why did it take me so long to think of it?
>>
>
> I find it simpler to avoid using sudo.
>
> It is the devil's tool.
>

Half the time I su -c and get a root shell.

The problem remains the same unless you can explain to me in very small 
words how I can update some root owned configuration files and remotely 
reboot a machine from an xterm without acquiring root privileges of some 
sort.

I'm more than prepared to change my ways if appropriately enlightened.
_______________________________________________
PLUG discussion list: plug at plug.org.au
http://lists.plug.org.au/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au


More information about the plug mailing list