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

Re: Shutdown computer after a specific command has been executed



On Mon, 2013-12-09 at 14:10 +0100, Gian Uberto Lauri wrote:
> If you execute <command> as root (better than using sudo) you can
> either issue from the # prompt

Andrei already pointed out on another thread how to use sudo and I
repeated it for this thread.

You can configure su to have a timeout too, but su hasn't by default,
neither has sudo -i.

There is no need to run sudo again and again, simply run sudo -i one
time, like you do when using su.



Reply to: