Gentoo Archives: gentoo-dev

From: 320095285153-0001@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] useradd q
Date: Tue, 30 Jan 2001 21:56:46
Message-Id: 3A779488.A661FF3E@gottinger.de
In Reply to: [gentoo-dev] useradd q by Dave Bresson
1 Dave Bresson wrote:
2
3 > Ok, quick question. After getting everything running and what not on my
4 > new rc4_pre2 machine, i'm starting to customize everything to my liking.
5 > I'd like to be able to create my own non-root account (for obvious
6 > reasons) however i'm getting an error with adduser like so "PAM
7 > authentication failed". This comes after typing in the password for my
8 > new account i'm trying to create. Surely there must be some PAM setting
9 > which is wrong by default or something, since you should be able to create
10 > a new account without too much fuss. Or perhaps there is some new tool
11 > for creating new accounts i don't know about, as i'm still acclimating to
12 > my new gentoo environs. Could anyone shine some light on this problem?
13 >
14 > thanks,
15
16 Make /etc/pam.d/useradd as follows:
17 ---------------
18 auth required pam_rootok.so
19 account required pam_pwdb.so
20 session required pam_pwdb.so
21 --------------
22 copy this to /etc/pam.d/shadow
23
24 and things should work better you still get a warning like
25 useradd: PAM chauthok failed.
26
27 I will look into this a little deeper
28
29 achim~
30
31 >
32 >
33 > dave
34 >
35 > _______________________________________________
36 > gentoo-dev mailing list
37 > gentoo-dev@g.o
38 > http://www.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
[gentoo-dev] portage question John McCaskey <jmccaskey1@×××××.net>