Time-limited login?

Cordula's Web webmaster at cordula.ws
Mon Oct 27 02:49:35 PST 2003


[Please Cc: me directly; I'm not on questions at . Thanks.]

Hi,

does anyone know how to limit ssh/ftp/... logins to a
specific time-of-day (e.g. office times on weekdays)?

login(1) provides something like this (in /etc/login.conf
times.allow and times.deny) , but it doesn't apply to ssh
and other PAMified modules.

Is there a PAM module for FreeBSD which implements this
feature (or a port to such a module)? And if yes, will
all PAMified daemons in FreeBSD support/honor them?

Thanks.

-- 
Cordula's Web. http://www.cordula.ws/



More information about the freebsd-questions mailing list