PAM: GDM-only login

PAM: GDM-only login

Dotan Cohen dotancohen at gmail.com
Sun Mar 15 13:42:24 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)
>

Just use the password "games" along with the username "games". There
are quite a few gotchas that I've run into when not having a password,
like a previous poster said not being able to disable the screensaver
is one of them. The system assumes that there is a password and too
much stuff breaks when that assumption is not fulfilled.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


More information about the Linux-il mailing list