Just change ownership on the binary:
sudo chmod a+s /sbin/shutdown
[[email protected] ~]$shutdown -h 21:28 shutdown: Need to be root [[email protected] ~]$sudo chmod a+s /sbin/shutdown [[email protected] ~]$shutdown -h 21:28 Broadcast message from [email protected] (/dev/pts/0) at 21:21 ... The system is going down for halt in 7 minutes!
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.