From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ibeas@gmx.com (=?UTF-8?Q?=C3=81lvar?= Ibeas) Newsgroups: gmane.emacs.bugs Subject: bug#19477: 24.4; Init script from su terminal Date: Wed, 31 Dec 2014 20:34:13 +0100 Message-ID: <87mw638vgq.fsf_-_@gmx.com> References: <87iogrixn9.fsf@gmx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420054524 20255 80.91.229.3 (31 Dec 2014 19:35:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2014 19:35:24 +0000 (UTC) To: 19477-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 20:35:11 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y6P31-0007t6-85 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Dec 2014 20:35:11 +0100 Original-Received: from localhost ([::1]:41238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6P30-0007Vr-A2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Dec 2014 14:35:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6P2w-0007U2-JR for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 14:35:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6P2s-0001bw-KZ for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 14:35:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6P2s-0001bg-Hn for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 14:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y6P2s-0004UX-4f for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 14:35:02 -0500 Resent-From: ibeas@gmx.com (=?UTF-8?Q?=C3=81lvar?= Ibeas) Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Dec 2014 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 19477 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 19477@debbugs.gnu.org, ibeas@gmx.com, ibeas@gmx.com Original-Received: via spool by 19477-done@debbugs.gnu.org id=D19477.142005446017196 (code D ref 19477); Wed, 31 Dec 2014 19:35:01 +0000 Original-Received: (at 19477-done) by debbugs.gnu.org; 31 Dec 2014 19:34:20 +0000 Original-Received: from localhost ([127.0.0.1]:33988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6P2B-0004TI-Un for submit@debbugs.gnu.org; Wed, 31 Dec 2014 14:34:20 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:61871) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6P29-0004T5-JG for 19477-done@debbugs.gnu.org; Wed, 31 Dec 2014 14:34:18 -0500 Original-Received: from yermo ([79.145.174.54]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LbuCq-1XNTMS1Vg4-00jJP6 for <19477-done@debbugs.gnu.org>; Wed, 31 Dec 2014 20:34:16 +0100 In-Reply-To: (Glenn Morris's message of "Wed, 31 Dec 2014 13:36:26 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Provags-ID: V03:K0:I6z6z8NPblabCYKKkvU0HXavehnpHYhIf4RpH19muVkVwM7epDJ NsTFAWyLmgQz/XjgJQgkVoG8LCdWpIsusCS7xM7DOO8VxKWEVMHFAEtM+cxGoto/UbHvEqj Bfw6huzq8oktEGFWbvrzt9vdEp7Fu2N3VzOUWTZOSLC8sBgYSpIfAyNLuw+7oY7vDU+cBwb QBANjBEwRlnpcoXGckWOw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97906 Archived-At: Glenn Morris 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.