[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to let a user login locally with a weak password



On Sat, Jan 17, 2009 at 10:08:41PM -0500, Stefan Monnier wrote:
> I'd like to setup an account that can use a weak password.
> To make up for it, the account should only be accessible locally, not
> over the network.
> It would be sufficient for it to be accessible only via GDM/XDM (since
> I don't need remote XDM/GDM logins).

I used to add an extra line to /etc/pam.d/gdm to allow a list of users
(using pam_listfile.so) to login before checking their passwords.

Assuming you don't use XDMCP, this only allows local logins.

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


Reply to: