On Mon, Feb 19, 2018 at 12:30:19PM +0100, Otto Moerbeek wrote: > On Mon, Feb 19, 2018 at 12:29:08PM +0100, Otto Moerbeek wrote: > > > On Mon, Feb 19, 2018 at 12:09:09PM +0100, david-mau...@netdefi.com wrote: > > > > > Hello, > > > > > > the result of the shutdown +5 -p command is unexpected : > > > Enter pathname of shell or return for sh > > > > > > How to repeat : > > > in a xfce4-terminal > > > shutdown +5 -p > > > > > > Regards, > > > David MAURER > > > > Depends on you epxectations. > > > > -p handling is conditional on the host being able to power down by > > software. Since you neglected to include a dmesg, we must conclude > > your machine just isn't capable of doing a power down by software. > > > > -Otto > > Oh, you reversed the order of arguments. So -p becomes the message. > > -Otto
To elaborate: the default action of shutdown(8) is (as documented) to go to single-user mode. So this is all very much expected. shutdown +5 -p will go to single-user mode in m 5 minutes and announce that by sending the message "-p" to all users. -Otto