Question #237893 on sudo in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/237893

Manfred Hampl proposed the following answer:
With the shutdown command you might run into access rights limitations. Your 
user most probably is not authorized to execute shutdown without sudo, and 
"sudo shutdown" cannot be  used as there is noone to enter the password at the 
time when shutdown is due to be executed.
You might have to execute the whole at command in an administrative environment.
Maybe something like

sudo at 10:30
> shutdown -P

does what you want.
There are also some GUI-programs for scheduling shutdowns like gshutdown, 
easyshutdown etc.
Maybe one of these can do what you want.
Whan can't you just use "sudo shutdown +30" and leave your used logged in?

-- 
You received this question notification because you are a member of
OpenERP Indian Team, which is an answer contact for sudo in Ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to