On 12/09/2013 03:30 PM, Ralf Mardorf wrote: > On Mon, 2013-12-09 at 14:48 +0200, Lars Noodén wrote: >> If you want it shut down regardless of the outcome of apt, then this >> should do it: >> >> sudo apt-get upgrade; sudo shutdown -h now > > Wrong, if the upgrade should take to long, then you need to type the > password after the upgrade. Better run > > $ sudo -i > # apt-get update ; apt-get upgrade ; shutdown -h now > > Regards, > Ralf
It depends on how you have sudoers configured. On some systems certain combinations of programs+options need no password. It's up to the sysadmin and the users. Regards, /Lars -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

