Give root password for maintenance
You need to use the -h
switch to halt the system. Default for shutdown
is to switch to run level 1 (maintenance).
shutdown -h now
See man shutdown
.
Use the -h option to shutdown to request a halt or a power off instead of just requesting to init that you are going to single user mode (which seems to be the default behaviour)
shutdown -h now