The following command causes an immediate system sleep
Trying to shutdown system with pmset
$ pmset shutdown Usage: pmset <options> See pmset(1) for details: 'man pmset'
Experiment with shutdown command
$ shutdown -h now shutdown: NOT super-user $ sudo shutdown -h now Password:
So each time to shutdown system, I should enter a password to use the superuser.
Could it be possible to shut down with ‘pmset’?