Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3774 - conflict nit shadow-4.0.2-r5 and pam-login-3.6-r1
Summary: conflict nit shadow-4.0.2-r5 and pam-login-3.6-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 22:30 UTC by Paul Thompson
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Thompson 2002-06-15 22:30:33 UTC
shadow installs login.defs(5) which documents the parameter
ENV_SUPATH . Shadow also installs the 'su' program, which
in the mentioned version at least, uses ENV_SUPATH.

pam-login, uses ENV_ROOTPATH, which is not described in the
login.defs man page, and not understood by su. I believe it
is a gratuitous change, which was not believed to break
backward compat.
http://sdb.suse.de/en/sdb/html/kukuk_pam.html
claims:
The entry ENV_SUPATH is omitted, as it has never been used. There is a new
entry, ENV_ROOTPATH. This contains the default path for the user root. Otherwise
all valid variables for /etc/login.defs are described in the manpage (man
login.defs).

Which obviously isnt true...

The solution is a simple sed in the ebuild to alter the affected
line in login.c or su.c -- choose one and go with it. Then use
that one in /etc/logins.def --- unfortunately, login complains if
it sees ENV_SUPATH in there, but if it isnt, su doesnt work as
advertized.

Paul
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-17 14:39:08 UTC
pam-login-3.6-r2 should fix this.