1

I found the command ( shutdown -h 02:00 ) to schedule shutdown my machine but want to know that Is it compulsory that user must have logged in with root login? Or this command would works for all user?

2

2 Answers 2

1

You can do it with using sudo command as following.

sudo shutdown -h 02:00

surely shutdown command can't works for all user.

0

Yes, shutdown command needs root privileges. Same case with reboot command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .