I'm building an application in which there is a button to shutdown the system.
I'm using suse 10.0 , which doesn't allow to shutdown (poweroff command) the system in user mode.
So how can I shutdown machin as normal user when shutdown button clicked.