From owner-freebsd-stable@FreeBSD.ORG Sun Oct 12 09:43:40 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B8D16A4B3 for ; Sun, 12 Oct 2003 09:43:40 -0700 (PDT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 555F143F3F for ; Sun, 12 Oct 2003 09:43:38 -0700 (PDT) (envelope-from joan@grummit.biaix.org) Received: (qmail 16751 invoked by uid 1000); 12 Oct 2003 16:38:19 -0000 Date: Sun, 12 Oct 2003 18:38:19 +0200 From: Joan Picanyol To: freebsd-stable@freebsd.org Message-ID: <20031012163819.GA619@grummit.biaix.org> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Subject: too restrictive permissions on /dev after upgrade rc1->rc2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 16:43:40 -0000 Hi, After my last upgrade (Oct 10th) + buildworld cycle I've noticed some weird things: /dev/null, /dev/std{in,out,err} and /dev/[u]?random are 600, so no one can do anything with them (make buildworld fails with "can't create /dev/null", slogin says "PRNG not seeded"). After chmod'ing as I felt convinient, now slogin doesn't work (I can't type my password in the keyboard): [...] ðebug¹: service_ãcceþt: ssh-userãuth ðebug¹: gøt SSH2_MSG_SË®VÏ©Ë_é©ËÞT ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð ðebug¹: next ãuth methøð tø trý is þublickeý ðebug¹: trý þubkeý: /høme/jøãn/.ssh/ið_rsã ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð ðebug¹: trý þubkeý: /høme/jøãn/.ssh/ið_ðsã ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð ðebug¹: next ãuth methøð tø trý is þãsswørð ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð Þermissiøn ðenieðž þleãse trý ãgãin. ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð Þermissiøn ðenieðž þleãse trý ãgãin. ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeý ðebug¹: nø møre ãuth methøðs tø trý Þermissiøn ðenieð (þublickeý). ðebug¹: ©ãlling cleãnuþ 0x804c¹58(0x0) If I try this with DISPLAY=0.0 environment, the last lines are: [...] ðebug¹: trý þubkeý: /høme/jøãn/.ssh/ið_ðsã ðebug¹: ãuthenticãtiøns thãt cãn cøntinue: þublickeýžþãsswørð ðebug¹: next ãuth methøð tø trý is þãsswørð ssh_ãskþãss: exec(/usr/X¹¹®6/bin/ssh-ãskþãss): Nø such file ør ðirectørý ðebug¹: ©ãlling cleãnuþ 0x804c¹58(0x0) Write fãileð: Brøken þiþe ðebug¹: ©ãlling cleãnuþ 0x804c¹58(0x0) I have stock versions of /etc/pam.conf and /etc/ssh/* et al., which makes me wonder: 1.- Am I the only one seeing this? 2.- Is this a bug or a feature? 3.- How should I set up ssh to ask me the password again? tks -- pica