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 |