Re: [PAM] `su' doesn't work at boot time.
On Thu, Jun 03, 1999 at 03:15:36AM -0700, Karl M. Hegbloom wrote:
> Postgres and dictd won't start because the PAM su doesn't work unless
> the user calling it is in utmp. It reports that it can't set up
> PAM_RUSER, and fails to `su' and start the daemon.
> Why does it do things that way? Is there any good reason why we can't
> patch `pam_rootok.so' so that it lets root `su' without needing to be
> registered in utmp?
> I don't understand these issues well yet.
This issue is a problem handling devpts (su worked for cronjobs prior
to glibc 2.1).
All of this will hopefully be meaningless since I hope that shadow will
soon be compiled with PAM support, as pam-apps is less than an optimal
solution (it's mising key programs that are needed in order to really
replace the shadow suite).