View previous topic :: View next topic |
Author |
Message |
AscendantMage n00b


Joined: 29 Aug 2002 Posts: 35 Location: Oslo, Norway
|
Posted: Fri Apr 11, 2003 11:41 am Post subject: Trouble adding users |
|
|
Heya, all...
Suddenly I can no longer add users to my system...
both useradd with the correct parameters and superadduser fail with
Code: | useradd: PAM authentication failed |
"superadduser" gives me:
Code: |
OK, I'm about to make a new account. Here's what you entered so far:
New login name: newuser
New UID: [Next available]
Initial group: users
Additional groups: audio,wheel
Home directory: /home/newuser
Shell: /bin/bash
Expiry date: [no expiration]
This is it... if you want to bail out, hit Control-C. Otherwise, press
ENTER to go ahead and make the account.
Making new account...
useradd: PAM authentication failed
chfn: Unknown user newuser
passwd: Unknown user mage
Done...
|
And then returns me to the prompt...
Huh ?
Any suggestions are welcome... _________________ there are 10 kinds of people in the world -
those who understand binary, and those who don't. |
|
Back to top |
|
 |
bkhl n00b


Joined: 05 Nov 2002 Posts: 67 Location: Uppsala, Sweden
|
Posted: Fri Apr 11, 2003 1:36 pm Post subject: |
|
|
That's the error you would get if you are running useradd without root privileges... |
|
Back to top |
|
 |
guero61 l33t

Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Fri Apr 11, 2003 4:45 pm Post subject: |
|
|
I second the motion -- my first question is what user you're trying to add from. Usu., you can only add as root (or someone with root equivalency) |
|
Back to top |
|
 |
AscendantMage n00b


Joined: 29 Aug 2002 Posts: 35 Location: Oslo, Norway
|
Posted: Fri Apr 11, 2003 6:44 pm Post subject: |
|
|
Thanks for the suggestions - but the problem lay elsewhere (I couldn't do it logged in as root either, fyi...) - reinstalling PAM solved the problem.
So, now it works just dandy  _________________ there are 10 kinds of people in the world -
those who understand binary, and those who don't. |
|
Back to top |
|
 |
|