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

Re: Creating passwordless account in Lenny



Hi,

To my knowledge it is impossible to create an account without
password, but you can create an passwordless login with GDM (and i
think kdm).

eg. gnome you can find this option on:
System > administration > connection windows > security > activate
auto connection, but is not really what you want (or maybe you have
targeted the wrong problem)

If you don't want any autologin system you can edit /etc/pam.d/gdm and add:
auth sufficient pam_listfile.so item=user sense=allow
file=/etc/X11/gdm/nopass.list onerr=fail
just after this line:
auth required pam_env.so
and before this:
@include common-auth

Now you just have to create the file /etc/X11/gdm/nopass.list and add
the username  who need a login without entering a password.

I think that best meets your needs...

Best Regards,

2009/4/23 Klistvud <quotations@aliceadsl.fr>:
> Dear Debianites,
>
> is there any guru out there who can instruct me how to temporarily
> disable
> passwords (or allow zero-length passwords), so that I can create two
> passwordless accounts for my pre-school kids? Editing /etc/pam.d/
> common-passwords apparently doesn't cut it...
>
> Thanx.
>
> --
> Certifiable Loonix User 481801
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: