From: ibeas@gmx.com (Álvar Ibeas)
To: 19477-done@debbugs.gnu.org
Subject: bug#19477: 24.4; Init script from su terminal
Date: Wed, 31 Dec 2014 20:34:13 +0100 [thread overview]
Message-ID: <87mw638vgq.fsf_-_@gmx.com> (raw)
In-Reply-To: <mailman.17015.1420051024.1147.bug-gnu-emacs@gnu.org> (Glenn Morris's message of "Wed, 31 Dec 2014 13:36:26 -0500")
Glenn Morris <rgm@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.
next prev parent reply other threads:[~2014-12-31 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-31 16:36 bug#19477: 24.4; Init script from su terminal Álvar Ibeas
2014-12-31 18:36 ` Glenn Morris
[not found] ` <mailman.17015.1420051024.1147.bug-gnu-emacs@gnu.org>
2014-12-31 19:34 ` Álvar Ibeas [this message]
2015-01-02 19:01 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mw638vgq.fsf_-_@gmx.com \
--to=ibeas@gmx.com \
--cc=19477-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).