Re: Creating passwordless account in Lenny
On Thu, Apr 23, 2009 at 06:14:48PM +0200, Thomas Barandon wrote:
> 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.
But also remember to disable the password protection on the screen
saver.
See also:
http://tzafrir.org.il/~tzafrir/add_gdmonly_user
Which does basically what you wanted, but also edits
/etc/pam.d/gnome-screensaver
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: