Quoting Efi Gabriel <[EMAIL PROTECTED]>:

> Hi there,
> 
> Is it possible to restrict some user to login only on specified time?
> For example, 8:00 am -
> 5:00pm everyday.
> 
> TIA,
> 
> Efi

yes!

1. you could cron a script which runs 'passwd -l <username>' at 5pm
and then 'passwd -u <username>' at 8am.  and another script which tells
your nas to disconnect the user at 8pm.

2. if you are using radius, and your radius supports external scripts, 
you could call a script during authentication to check if the user 
is allowed to login at specified time.

peace!
-eric
--
 .--.  Enrique D. Rosel II                     office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc.
 `--\\ A Philippine Open Source Solutions Co.  http://www.q-linux.com/

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to