[Pkg-shadow-devel] Bug#203873: marked as done (login: man page does not mention setting $HOME)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 22 Apr 2005 10:18:18 -0700


Your message dated Fri, 22 Apr 2005 18:31:25 +0200
with message-id <20050422163125.GN8312@mykerinos.kheops.frmug.org>
and subject line The su man page mentions setting $HOME
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Aug 2003 12:42:46 +0000
>From matijs@smtpzilla3.xs4all.nl Sat Aug 02 07:42:44 2003
Return-path: <matijs@smtpzilla3.xs4all.nl>
Received: from smtpzilla3.xs4all.nl [194.109.127.139] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19ivie-0006ab-00; Sat, 02 Aug 2003 07:42:44 -0500
Received: from pomme (mvz.xs4all.nl [80.126.4.68])
	by smtpzilla3.xs4all.nl (8.12.9/8.12.9) with ESMTP id h72Cghqx028683;
	Sat, 2 Aug 2003 14:42:43 +0200 (CEST)
Received: from matijs by pomme with local (Exim 3.36 #1 (Debian))
	id 19ivid-00057S-00; Sat, 02 Aug 2003 14:42:43 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matijs van Zuijlen <Matijs.van.Zuijlen@xs4all.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: login: man page does not mention setting $HOME
X-Mailer: reportbug 2.20
Date: Sat, 02 Aug 2003 14:42:43 +0200
Message-Id: <E19ivid-00057S-00@pomme>
Sender: Matijs van Zuijlen <matijs@xs4all.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
	tests=BAYES_01,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)

Package: login
Version: 1:4.0.3-8
Severity: minor

Running just plain su or su [user] sets $HOME to the target user's home.
This is useful behaviour (see #202081), but isn't documented in the man
page.


-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux pomme 2.4.20-ben10mvz2 #1 Thu May 8 16:10:24 CEST 2003 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages login depends on:
ii  libc6                       2.3.1-17.0.2 GNU C Library: Shared libraries an
ii  libpam-modules              0.76-13      Pluggable Authentication Modules f
ii  libpam0g                    0.76-13      Pluggable Authentication Modules l

-- no debconf information


---------------------------------------
Received: (at 203873-done) by bugs.debian.org; 22 Apr 2005 17:00:55 +0000
>From bubulle@kheops.frmug.org Fri Apr 22 10:00:55 2005
Return-path: <bubulle@kheops.frmug.org>
Received: from perrier.eu.org (kheops.perrier.eu.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DP1WR-0006uv-00; Fri, 22 Apr 2005 10:00:55 -0700
Received: from localhost (localhost [127.0.0.1])
	by kheops.perrier.eu.org (Postfix) with ESMTP id ABD6D4F89B
	for <203873-done@bugs.debian.org>; Fri, 22 Apr 2005 19:00:02 +0200 (CEST)
Received: from kheops.perrier.eu.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 32230-03 for <203873-done@bugs.debian.org>;
	Fri, 22 Apr 2005 19:00:01 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.perrier.eu.org (Postfix) with ESMTP id D8EE64F978
	for <203873-done@bugs.debian.org>; Fri, 22 Apr 2005 18:59:53 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 75CCE232A3; Fri, 22 Apr 2005 18:31:25 +0200 (CEST)
Date: Fri, 22 Apr 2005 18:31:25 +0200
From: Christian Perrier <bubulle@debian.org>
To: 203873-done@bugs.debian.org
Subject: The su man page mentions setting $HOME
Message-ID: <20050422163125.GN8312@mykerinos.kheops.frmug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 203873-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

>From the su man page:

      Unless  the  -m  or  -p options are used, the current environment is passed to the new shell with alter-
       ations.  The value of $PATH is reset to /bin:/usr/bin for normal users, or /sbin:/bin:/usr/sbin:/usr/bin
       for   the   super  user.   This  may  be  changed  with  the  ENV_PATH  and  ENV_SUPATH  definitions  in
       /etc/login.defs.  $IFS, if is set, is reset to contain space, tab, and newline.  $USER  is  set  to  the
       name of the target user, $HOME is set to the home directory of the target user, and $SHELL is set to the
       shell of the target user.  When using the -m or -p options, the user's environment is not changed.



--