Possible Duplicate:
Difference between menu shutdown and 'shutdown -h now'
Why can ubuntu perform a shutdown from the GUI even though it is prive on the command line? By what mechanism does it do so?
Why can ubuntu perform a shutdown from the GUI even though it is prive on the command line? By what mechanism does it do so? |
|||||||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
The mechanism seems to be a DBus message, sent to a process with root privileges. Taken from How can I make shutdown not require admin password?:
|
||||
|
|