GNU bug report logs - #19477
24.4; Init script from su terminal

Previous Next

Package: emacs;

Reported by: ibeas <at> gmx.com (Álvar Ibeas)

Date: Wed, 31 Dec 2014 16:38:02 UTC

Severity: minor

Merged with 36583, 36604

Found in version 26.1

Full log


Message #13 received at 19477-done <at> debbugs.gnu.org (full text, mbox):

From: ibeas <at> gmx.com (Álvar Ibeas)
To: 19477-done <at> debbugs.gnu.org
Subject: 24.4; Init script from su terminal
Date: Wed, 31 Dec 2014 20:34:13 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Emacs is behaving as documented.
>
> The `su' programs from coreutils (it's since been removed in favour of
> the util-linux one) and util-linux (as used by eg Red Hat) do not change
> LOGNAME or USER when su'ing to root.
>
> It seems that Debian's `su' comes from the `shadow' package and does
> change them.

Thanks for replying. I see now that most of the environment variables
are kept with the `-p' option.




This bug report was last modified 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.