On Mon, 20 Nov 2000, Raghunath L wrote:
> Is there anyway that you can that you can restrict user logon hours.
> 
> if yes how is it done?

Create the file /etc/nologin. Now if non-root users attempt to login,
login would be denied. The users would be displayed the contents of
/etc/nologin. You can have a script which creates & removes this file as &
when you want.

man nologin & man login for details.

Sreeji


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to