On Wed, 9 Jul 2003, Ian Freislich wrote:

> Larry Rosenman wrote:
> >
> > --On Tuesday, July 08, 2003 13:58:19 +0200 Lukas Ertl <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi,
> > >
> > > can anyone explain why the pgsql user is logged in on console nowadays?
> > I'm seeing the same thing, and am also interested in making it stop.
>
> It's got tomething to do with the 'su - pgsql -c ...'.

Yes, it has. It was introduced in rev. 1.15 of /etc/pam.d/su, with:

session  include  system

/etc/pam.d/system has pam_lastlog in the session part, and pam_lastlog
records the login in pam_sm_open_session(), but pam_sm_close_session()
does nothing, instead of removing the wtmp entry again.

regards,
le

-- 
Lukas Ertl                             eMail: [EMAIL PROTECTED]
UNIX-Systemadministrator               Tel.:  (+43 1) 4277-14073
Zentraler Informatikdienst (ZID)       Fax.:  (+43 1) 4277-9140
der Universität Wien                   http://mailbox.univie.ac.at/~le/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to