PAM: GDM-only login

PAM: GDM-only login

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


On Sun, Mar 15, 2009 at 01:42:24PM +0200, Dotan Cohen wrote:
> > 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)
> >
> 
> Just use the password "games" along with the username "games". 

This allows ssh login to that user. I don't want that. And I don't want
to start selectively blocking. I preffer selectively allowing.

-- 
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