[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does su change PATH on amd64 but not on hurd-i386 ?

Thomas Schmitt, le Thu 01 Sep 2011 22:10:01 +0200, a écrit :
> as far as i could find out, there simply are different su programs
> in amd64 and hurd-i386.

Indeed, see the package which contains them. It's coreutils on
hurd-i386, while it's login on amd64. The coreutils one doesn't use
login.defs. The reason for it is probably that the hurd package already
provides a /bin/login program, and thus provides the login package,
and thus login is never installed, and thus somebody probably asked to
enable su in corutils.

I'm not sure how we want to align hurd-i386's behavior on other archs:
patch coreutils to use login.defs, or install the login package but use
hurd's /bin/login instead of login's.


Reply to: