Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 11:48:54 +0100 (CET)
From:      "Cordula's Web" <webmaster@cordula.ws>
To:        questions@freebsd.org
Subject:   Time-limited login?
Message-ID:  <200310271048.h9RAmsVn057295@fw.farid-hajji.net>

next in thread | raw e-mail | index | archive | help
[Please Cc: me directly; I'm not on questions@. 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310271048.h9RAmsVn057295>