This shows you the differences between two versions of the page.
packages:gdm [2008-09-07 02:00] patrys |
packages:gdm [2008-09-07 04:43] glen skip WikiMarkup |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
- | ====== GDM ====== | ||
- | |||
- | |||
- | ===== Allowing users with no password ===== | ||
- | Sometimes (on LiveCDs for example) you might want to allow users with no password (''passwd -d user'') to use GDM. | ||
- | |||
- | There are two changes to be done. First, edit ''/etc/pam.d/system-auth'' and find the ''pam_unix.so'' module for the ''auth'' action: | ||
- | |||
- | |||
- | |||
- | <file>auth required pam_unix.so try_first_pass | ||
- | </file> | ||
- | Add ''nullok'' to that module's parameters: | ||
- | |||
- | |||
- | |||
- | <file>auth required pam_unix.so try_first_pass nullok | ||
- | </file> | ||
- | Second, edit ''/etc/gdm/custom.conf'' and add the following line to the ''[security]'' section: | ||
- | |||
- | |||
- | |||
- | <file>PasswordRequired=false | ||
- | </file> | ||
- | Now either restart GDM or kill your current X session with Ctrl+Alt+[[:BkSpace|BkSpace]]. | ||
- | |||