[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: allow/deny user power of the os

On Fri, 04 Feb 2011 15:13:18 +0100, Pol Hallen wrote:

> How is the best way to deny and allow by time and date of user/s
> poweroff/reboot system?
> This client runs from 08am to 8pm. I have to deny all users reboot or
> poweroff within time, but user/s can reboot or poweroff this system from
> 8.01pm to 7.59am.

Hum... maybe you can take a look at "pam_time.so" module to restrict 
users from running specific commands/services at the desired time 
interval :-?



Reply to: