Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] problems with new install
Date: Tue, 17 Apr 2001 22:12:35
Message-Id: 3ADD0D91.67DAA966@gentoo.org
In Reply to: Re: [gentoo-dev] problems with new install by Ben Lutgens
1 Ben Lutgens wrote:
2 >
3 > On Tue, Apr 17, 2001 at 09:09:25PM -0600, Daniel Robbins wrote:
4 > >On Tue, Apr 17, 2001 at 09:21:19PM -0500, Ben Lutgens wrote:
5 > >> Hi all, I just installed a small system from a running system using
6 > >> sys-i686-20010406.tgz
7 > >
8 > >Hey! A www.sistina.com (LVM) person trying Gentoo Linux! Thanks ;)
9 >
10 > That's right. I am sistina's Senior Sysadmin. :-)
11 >
12 > >
13 > >> The first and formost thing I noticed was that syslog spitting out errors
14 > >> everytime the logger tries to make an entry (it can't access
15 > >> /var/log/syslog.d/ dir) so I change the perms, now it says it can't lock the
16 > >> dir. So my syslog is still broken.
17 > >
18 > >Did you extract the tarball using the "p" option? -->
19 >
20 > Doh! Ooops.
21 >
22 > ># tar xzvpf ...
23 > >
24 > >If not, then tar didn't preserve the literal directory permissions and this
25 > >is probably causing some problems for you.
26 >
27 > I'll try again.
28 >
29 > >> Next I try to add a user using adduser and that application won't even run, I
30 > >> get "PAM authentication failed" I did however change roots password and am
31 > >> still able to login.
32 > >
33 > >This is a relatively ancient bug that desperately needs fixing. I'm not sure
34 > >exactly why PAM is barfing. If I remember correctly, it can be fixed by zapping
35 > >a file in /etc/pam.d.
36 >
37 > Which one, I'll try using vipw and vigr and try to login but I don't think
38 > it'll let me, something in pam's busted for sure. I you can post a fix on the
39 > website (A FAQ question?) that would be great.
40 >
41 > >I agree. One of the downsides of doing a major development project in your
42 > >"spare" time is that you are forced to step away from development even when
43 > >there are little quirks like this that you know need fixing. However, I don't
44 > >think there are any major quirks beyond this one.
45 >
46 > Well, I rather like the fact that it's mostly hands-on stuff, and if I can get
47 > the authentication thing straight I can hack the rest of it.
48 >
49 > Ports man, I love it. Finally a distro with ports.
50 >
51 > >Achim didn't include the "vipw" and "vigr" tools in build.tbz2?
52 > >
53 > Didn't try them yet, but on a previous install I used useradd and that worked
54 > o.k. but I still couldn't login with the use I added.
55
56 Again, rename /etc/pam.d/userpadd to /etc/pam.d/useradd and it will
57 work. But you must create the users homedir. After that you can user
58 passwd to add a password for that user.
59
60 bye achim~
61
62 > --
63 > Ben Lutgens cell: 612.670.4789
64 > Sistina Software Inc. worl: 612.379.3951
65 > Code Monkey Support (A.K.A. System Administrator)
66 >
67 > Kernel panic: I have no root and I want to scream
68 >
69 > ------------------------------------------------------------------------
70 > Part 1.2Type: application/pgp-signature