Re: Debian for kids
> On Wed, Feb 02, 2000 at 07:59:46AM +0100, Andreas Tille wrote:
> > On Tue, 1 Feb 2000, Ben Armstrong wrote:
> > > 1) Kidproofing
> > > learned the 'passwd' command, as daily she would change her
> > > password to something arbitrary and promptly forget it the
> > > next day ;) Oh, [...]
> > mv passwd.bak passwd into /etc/cron.daily ??
> that could get annoying for the other users who would find there
> passwds unchanged every day as well. a better option would be adding:
> auth requisite pam_listfile.so item=user sense=deny \
> file=/etc/deny.passwd onerr=succeed
> to the begining /etc/pam.d/passwd, and add any users who can't seem
> to use passwd command right to /etc/deny.passwd (or whatever).
> multiuser compatible!
And, what about "password expiry information"?
(quoted from passwd(1) man page):
The -n option is used to set the minimum number of days before
a password may be changed. The user will not be permitted to
change the password until min days have elapsed.
This IMHO is a simple and elegant solution to discourage a repeated
trying on passwd command, but still allows the kids to change the
password sometimes and to learn that passwd is not a frequent command.
--
,.........................................,...........................,
: Jose R. Alvarez Sanchez : Email: jras@dia.uned.es :Ooo.:
: Dpto. de Inteligencia Artificial : Tel: (+34) 91-398-7199 :( ):
: Univ. Nac. de Educacion a Distancia : Fax: (+34) 91-398-6697 : ) |:
: Senda del Rey, s/n. : --$[0,+oo)@!&>#%{}*\/^_= : (_):
: E-28040 Madrid SPAIN : http://www.dia.uned.es/~jras :
'.........................................:...........................'
Simple things are easier, you don't need to trouble your life.
Las cosas simples son mas sencillas, no te compliques la vida.
*** Powered by Debian GNU/Linux: http://www.debian.org/
________________________________________ Linux Registered User #102342
Reply to: