Prevent user from shutting down?
Asked by
tdn
I have a cron-job that is run daily on each laptop in the household. The cron job can sometimes take a while to complete (30 mins or so). The cron job is run as root.
How do I prevent users from shutting down the system, while the cron job is running? Actually I would like to prevent them from:
* Logging out
* Shut down
* Reboot
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu cron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask tdn for more information if necessary.
To post a message you must log in.