While I tried 'reboot' through normal user (non-root), it went through. I tried 'shutdown' through same user, it also went through after scheduling the shutdown.
But when i tried sudo shutdown through same user, it didnt work.
error:
[rj@localhost ~]$ sudo shutdown
[sudo] password for rj:
rj is not in the sudoers file. This incident will be reported.
Questions - How come a normal user do reboot or shutdown? Is it not a security concern ?
Question - if 'shutdown' is working, than why not 'sudo shutdown' ?
Request to pls explain.