Opened 9 years ago

Closed 9 years ago

#4740 closed defect (invalid)

Create su-l pam file on shadow- page

Reported by: rt Owned by: blfs-book@…
Priority: normal Milestone: 7.5
Component: BOOK Version: SVN
Severity: normal Keywords:


LFS now uses su from util-linux. When pam is used, su'ing to a login shell (by using the - or -l switch) fails, due to the pam config file su-l not existing (see manpage for su).

A pam config file for su-l similar to the one for su should be created on the shadow page.

Change History (2)

comment:1 by Armin K, 9 years ago

I don't think so.

LFS still uses shadow version of "su" in LFS since it doesn't require PAM. In BLFS it's the same, except it uses either PAM or Cracklib, depending on the installed deps. Util-Linux version of su requires PAM to be present in order to build, so unless you were rebuilding Util-Linux *after* you have installed Linux-PAM, there is no way you could install Util-Linux version of "su".

For your information, su -l with the shadow version of su built with PAM as described in BLFS works for me.

comment:2 by rt, 9 years ago

Resolution: invalid
Status: newclosed

Hmm, I see your point. I must have built util-linux after linux-pam. I was thrown off by the fact that the --disable-su switch was removed from the util-linux instructions in LFS 7.5. Marking as invalid.

Note: See TracTickets for help on using tickets.