OK, I'd like to implement some kind of 'child protection' for someone who acts like a child, to turn the computer off at night. I can easily put a shutdown command at 11pm in cron, but it's then easy to turn it back on.
I don't think it's possible to keep it off until the morning. Is it ? Any suggestion ? Put a shutdown command in the autostart that activates only at certain hours ?