Gentoo Archives: gentoo-dev

From: AJ Lewis <lewis@×××××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] yp/nis problems
Date: Mon, 06 Aug 2001 08:04:37
Message-Id: 20010806090619.A9133@sistina.com
In Reply to: [gentoo-dev] yp/nis problems by a9101556@unet.univie.ac.at
1 On Sun, Aug 05, 2001 at 11:02:44PM +0200, a9101556@××××××××××××××.at wrote:
2 > I have been experimenting with gentoo for the last 2 weeks
3 > (complete feedback may follow if wanted) but now I have run
4 > into serious problems:
5 >
6 > I need to integrate the gentoo-machine into a yp/nis surrounding
7 > which is using neither md5 nor shadow passwords.
8 > ypwhich, ypcat -k passwd and getent passwd work allright
9 > even C-calls to yield the right answer.
10 >
11 > But I can't login/ssh into the machine as a non-local user.
12 > In the syslogd I just get 'Failed password for...' and
13 > 'Failed keyboard-interactive for...'-entries.
14
15 It's working fine on my box. Did you add the NIS entry to your /etc/passwd,
16 /etc/group, and /etc/shadow files?
17
18 at the end of /etc/passwd you should have:
19 +::::::
20
21 at the end of /etc/group you should have:
22 +:::
23
24 at the end of /etc/shadow you should have:
25 +::::::::
26
27 You can insert stuff between the colons to regulate who can login and such,
28 but you should probably look at the manual to figure out how to do
29 that...this should at least get you running if that's what the problem is.
30
31 Regards,
32 --
33 AJ Lewis
34 Sistina Software Inc. Voice: 612-638-0500
35 1313 5th St SE, Suite 111 Fax: 612-638-0500
36 Minneapolis, MN 55414 E-Mail: lewis@×××××××.com
37 http://www.sistina.com
38
39 Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B 52A0 941E 1261 0029 2648
40 Get my key at: http://www.sistina.com/~lewis/gpgkey
41 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)
42
43 -----Begin Obligatory Humorous Quote----------------------------------------
44 All wiyht. Rho sritched mg kegtops awound?
45 -----End Obligatory Humorous Quote------------------------------------------