unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22175: /etc/environment not honored by lshd
@ 2015-12-15  8:02 Ludovic Courtès
  2015-12-15  9:22 ` Niels Möller
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2015-12-15  8:02 UTC (permalink / raw)
  To: 22175; +Cc: lsh-bugs, iyzsong

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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /etc/environment not honored by lshd
  2015-12-15  8:02 bug#22175: /etc/environment not honored by lshd Ludovic Courtès
@ 2015-12-15  9:22 ` Niels Möller
  2015-12-15 21:01   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Niels Möller @ 2015-12-15  9:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: lsh-bugs, iyzsong, bug-guix

ludo@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.
_______________________________________________
lsh-bugs mailing list
lsh-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: /etc/environment not honored by lshd
  2015-12-15  9:22 ` Niels Möller
@ 2015-12-15 21:01   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-12-15 21:01 UTC (permalink / raw)
  To: Niels Möller; +Cc: lsh-bugs, iyzsong, bug-guix

nisse@lysator.liu.se (Niels Möller) skribis:

> ludo@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’.
_______________________________________________
lsh-bugs mailing list
lsh-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-15 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  8:02 bug#22175: /etc/environment not honored by lshd Ludovic Courtès
2015-12-15  9:22 ` Niels Möller
2015-12-15 21:01   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).