[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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, and
>   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!

though i would agree with the previous poster, changing then
forgetting passwords is a good lesson (teach you to memorize first,
change second), probably better then teaching them to never change
their password ;-)

-- 
Ethan Benson


Reply to: