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

Re: Login schlägt fehl



On Mon, Mar 26, 2012 at 07:11:56AM -0400, thomasglieden@aol.com wrote:
> 
> ich habe einen Server mit Skolelinux r0 DVD aufgesetzt und mehrere 
> Laptops über pxe installiert. Leider wird ca. alle 3 Tage ein neues 
> Passwort auf den Laptops verlangt.

Das ist leider ein Bug in r0. Als root dieses Skript ausführen:

#!/bin/bash
#
# /usr/share/debian-edu-config/tools/password-fix-squeeze-r0
#
# Fix password expiring after 2 days (#664596) incorrectly introduced
# in Debian Edu Squeeze up to r0; for new users the password will
# never expire. For existing users this will be the case after they've
# changed their password. Give old users the chance to change the
# password, exclude not affected accounts: templates and first user.
#
for i in $(getent passwd | grep home0 | egrep -v 'newteacher|newstudent|:1000:1000\
:' | cut -d: -f1) ; do
    kadmin.local -q "modprinc -pwexpire 7000days $i"
done
kadmin.local -q "modpol -maxlife 0secs users"


Viele Grüße,

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: