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

Bug#35142: marked as done (lshell: Shells started by lshell are not login shells)

Your message dated Wed, 16 Jul 2003 11:17:24 +0200
with message-id <20030716091723.GA6185@regression.cyrius.com>
and subject line Removed
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; 28 Mar 1999 00:46:02 +0000
Received: (qmail 29126 invoked from network); 28 Mar 1999 00:45:59 -0000
Received: from d15-5214-bp.elender.hu (qmailr@
  by master.debian.org with SMTP; 28 Mar 1999 00:45:59 -0000
Received: (qmail 10145 invoked by uid 1000); 27 Mar 1999 23:58:10 -0000
Date: 27 Mar 1999 23:58:10 -0000
Message-ID: <19990327235810.10142.qmail@utopia>
From: <guy@utopia.intra.guy>
Subject: lshell: Shells started by lshell are not login shells
To: submit@bugs.debian.org
X-Mailer: bug 3.1.7

Package: lshell
Version: 2.01-9

When lshell exec's the shell it is supposed to run, it does the following:
[pid   989] execve("/bin/bash", ["bash"], [/* 6 vars */]) = 0

However, bash needs a hyphen ('-') prepended to argv[0] in order to
recognize that it is a login shell. login(1) does the following:
[pid   989] execve("/bin/lshells/bash", ["-/bin/lshells/bash"], [/* 6 vars */] <unfinished ...>

lshell should to the same. It did previously; I don't know what changed (I
don't suppose that installing a pam-based login could have impacted lshell).

The impact of this bug is that users logging in at the console or via telnet
don't have /etc/profile or ~/.bash_profile executed by their shells, which
is bad.


  Andrew Korn (Korn Andras) <korn@eik.bme.hu>  http://goliat.eik.bme.hu/~korn
    Finger korn@goliat.eik.bme.hu for pgp key.  Homepage is obsolete. QOTD:
                      Everyone is entitled to my opinion.

-- System Information
Debian Release: potato
Kernel Version: Linux utopia 2.2.3-ac4 #48 Fri Mar 26 12:15:12 CET 1999 i586 unknown

Versions of the packages lshell depends on:
ii  libc6           2.1.1-0.1      GNU C Library: shared libraries

--- Begin /etc/lshell.conf (modified conffile)
root -
default C90P50D40F100

--- End /etc/lshell.conf
Received: (at 35142-done) by bugs.debian.org; 16 Jul 2003 09:17:13 +0000
>From tbm@cyrius.com Wed Jul 16 04:17:10 2003
Return-path: <tbm@cyrius.com>
Received: from bangpath.uucico.de [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19ciPO-0002hr-00; Wed, 16 Jul 2003 04:17:10 -0500
Received: by bangpath.uucico.de (Postfix, from userid 10)
	id 3BDA326D75; Wed, 16 Jul 2003 11:17:10 +0200 (CEST)
Received: by regression.cyrius.com (Postfix, from userid 1000)
	id 1AEDC22A75; Wed, 16 Jul 2003 11:17:24 +0200 (CEST)
Date: Wed, 16 Jul 2003 11:17:24 +0200
From: Martin Michlmayr <tbm@cyrius.com>
To: 27199-done@bugs.debian.org, 35142-done@bugs.debian.org,
	129951-done@bugs.debian.org, 151548-done@bugs.debian.org,
Subject: Removed
Message-ID: <20030716091723.GA6185@regression.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Delivered-To: 35142-done@bugs.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (

This package was removed from Debian unstable a while ago because it
was not maintained anymore.

Martin Michlmayr

Reply to: