From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#22175: /etc/environment not honored by lshd Date: Tue, 15 Dec 2015 09:02:51 +0100 Message-ID: <87poy8b0lw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8kab-00041B-VX for bug-guix@gnu.org; Tue, 15 Dec 2015 03:04:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8kaY-0004WL-L3 for bug-guix@gnu.org; Tue, 15 Dec 2015 03:04:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8kaY-0004WF-Hd for bug-guix@gnu.org; Tue, 15 Dec 2015 03:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8kaY-0002Er-6r for bug-guix@gnu.org; Tue, 15 Dec 2015 03:04:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8kZg-0003ze-3w for bug-guix@gnu.org; Tue, 15 Dec 2015 03:03:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8kZa-0004Ku-KA for bug-guix@gnu.org; Tue, 15 Dec 2015 03:03:08 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22175@debbugs.gnu.org Cc: lsh-bugs@lists.lysator.liu.se, iyzsong@member.fsf.org Hello! Somehow /etc/environment isn=E2=80=99t 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=20 auth required pam_unix.so=20 password required pam_unix.so sha512 shadow session required pam_env.so=20 session required pam_unix.so=20 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.