Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 11:11:52 +0200
From:      Wout =?ISO-8859-1?Q?Decr=E9?= <wout@delta-design.be>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: GDM auto login
Message-ID:  <1223975512.1435.1.camel@localhost>
In-Reply-To: <1223943936.59852.19.camel@shumai.marcuscom.com>
References:  <1220458205.6019.13.camel@wout-desktop> <1220463705.5968.10.camel@wout-desktop> <1223943936.59852.19.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes it does, but you get a warning message:

"gdm-binary[1251]: in openpam_dispatch(): pam_nologin.so: no
pam_sm_setcred()"

Because auth and pam_nologin.so should not be used together anymore
(according to /usr/src/UPDATING).

Kind regards

Wout

On Mon, 2008-10-13 at 20:25 -0400, Joe Marcus Clarke wrote:
> On Wed, 2008-09-03 at 19:41 +0200, Wout Decré wrote:
> > Hi again, just noticed that there should also be a minor adjustment for
> > the gdm-autologin file. According to /usr/src/UPDATING
> > auth	required	pam_nologin.so no_warn
> > should be changed to:
> > account	required	pam_nologin.so no_warn
> > 
> > So I think a better gdm-autologin file would be:
> > 
> > auth       required     pam_permit.so
> > account    required     pam_nologin.so
> > account    required     pam_unix.so
> > session    required     pam_permit.so
> > 
> > I guess someone should verify this, cause I'm no PAM expert. I have done
> > it like this on my laptop, the auto login works and I don't get any
> > error messages anymore.
> > 
> > The error message was:
> > 
> > gdm-binary[2463]: in openpam_dispatch(): pam_nologin.so:
> > no_pam_sm_setcred()
> > gdm-binary[2463]: in openpam_dispatch(): pam_nologin.so: no
> > pam_sm_authenticate()
> 
> Did auto-login work with the FAQ example?
> 
> Joe
> 
> > 
> > Kind regards
> > 
> > Wout
> > 
> > On Wed, 2008-09-03 at 18:10 +0200, Wout Decré wrote:
> > > Hi, according to the GNOME FAQ question 23 (How do I configure GDM for
> > > automatic logins?) you should create a gdm-autologin file and put it
> > > under /etc/pam.d, but wouldn't it be more elegant to put it
> > > under /usr/local/etc/pam.d?
> > > 
> > > I also noticed the file /etc/pam.d/gdm_disabled, but what is it's use?
> > > 
> > > Thanks for the great job on GNOME, I'm a very happy FreeBSD user for
> > > over 5 years on my servers, and decided to also use it on my new laptop
> > > as a workstation (I'm using a boot password, so that is why I use the
> > > auto login feature), you guys made it a peace of cake :)
> > > 
> > > Wout
> > 
> > _______________________________________________
> > freebsd-gnome@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
> > 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1223975512.1435.1.camel>