Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2003 18:38:19 +0200
From:      Joan Picanyol <lists-freebsd-stable@biaix.org>
To:        freebsd-stable@freebsd.org
Subject:   too restrictive permissions on /dev after upgrade rc1->rc2
Message-ID:  <20031012163819.GA619@grummit.biaix.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031012163819.GA619>