GNU bug report logs - #22175
/etc/environment not honored by lshd

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Tue, 15 Dec 2015 08:04:02 UTC

Severity: normal

Merged with 22514

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22175 in the body.
You can then email your comments to 22175 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#22175; Package guix. (Tue, 15 Dec 2015 08:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 15 Dec 2015 08:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Cc: lsh-bugs <at> lists.lysator.liu.se, iyzsong <at> member.fsf.org
Subject: /etc/environment not honored by lshd
Date: Tue, 15 Dec 2015 09:02:51 +0100
Hello!

Somehow /etc/environment isn’t honored when logging in via SSH to an
lshd server running on GuixSD, despite the fact that /etc/pam.d/lshd has
this:

--8<---------------cut here---------------start------------->8---
account required pam_unix.so 
auth required pam_unix.so 
password required pam_unix.so sha512 shadow
session required pam_env.so 
session required pam_unix.so 
--8<---------------cut here---------------end--------------->8---

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#22175; Package guix. (Tue, 15 Dec 2015 09:25:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nisse <at> lysator.liu.se (Niels Möller)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: lsh-bugs <at> lists.lysator.liu.se, iyzsong <at> member.fsf.org, bug-guix <at> gnu.org
Subject: Re: /etc/environment not honored by lshd
Date: Tue, 15 Dec 2015 10:22:47 +0100
ludo <at> gnu.org (Ludovic Courtès) writes:

> Somehow /etc/environment isn’t honored when logging in via SSH to an
> lshd server running on GuixSD, despite the fact that /etc/pam.d/lshd has
> this:

lshd does *not* do the PAM session things (it can use pam for checking
passwords, but only for that). And I'm afraid it's not reasonable to add
support for it in lsh-2.x. Sorry about that.

Old discussion here:
https://lists.debian.org/debian-devel/2000/10/msg01417.html

I have softened a bit since ;-). I think proper PAM support is feature
that fits well in the reorganized lsh-3 userauth, and that I guess lot
of users nned. But not yet implemented there either.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.




Information forwarded to bug-guix <at> gnu.org:
bug#22175; Package guix. (Tue, 15 Dec 2015 21:02:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: nisse <at> lysator.liu.se (Niels Möller)
Cc: lsh-bugs <at> lists.lysator.liu.se, iyzsong <at> member.fsf.org, bug-guix <at> gnu.org
Subject: Re: /etc/environment not honored by lshd
Date: Tue, 15 Dec 2015 22:01:11 +0100
nisse <at> lysator.liu.se (Niels Möller) skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Somehow /etc/environment isn’t honored when logging in via SSH to an
>> lshd server running on GuixSD, despite the fact that /etc/pam.d/lshd has
>> this:
>
> lshd does *not* do the PAM session things (it can use pam for checking
> passwords, but only for that). And I'm afraid it's not reasonable to add
> support for it in lsh-2.x. Sorry about that.

I guess we’ll have to find a workaround, not sure what.

> Old discussion here:
> https://lists.debian.org/debian-devel/2000/10/msg01417.html
>
> I have softened a bit since ;-).

Heheh.  :-)

> I think proper PAM support is feature that fits well in the
> reorganized lsh-3 userauth, and that I guess lot of users nned. But
> not yet implemented there either.

Now you have an incentive?  ;-)

Thanks for your feedback,
Ludo’.




Merged 22175 22514. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 02 Feb 2016 16:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Mar 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 71 days ago.

Previous Next


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