PAM: GDM-only login

PAM: GDM-only login

Tzafrir Cohen tzafrir at cohens.org.il
Sun Mar 15 00:06:58 IST 2009


Hi

I occasionally need to setup a throw-away "games" user for someone to
play a bit with my laptop. Having a password is an annoyance in this
case.

So I thought I'll use PAM to disregard the password and accept the
authentication anyway:

http://tzafrir.org.il/~tzafrir/add_gdmonly_user

This uses pam_listfile.so for that purpose. One remaining issue is that
GDM will prompt me for the password anyway (in the past it didn't if it
wasn't needed)

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend



More information about the Linux-il mailing list