Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble adding users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
AscendantMage
n00b
n00b


Joined: 29 Aug 2002
Posts: 35
Location: Oslo, Norway

PostPosted: Fri Apr 11, 2003 11:41 am    Post subject: Trouble adding users Reply with quote

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
View user's profile Send private message
bkhl
n00b
n00b


Joined: 05 Nov 2002
Posts: 67
Location: Uppsala, Sweden

PostPosted: Fri Apr 11, 2003 1:36 pm    Post subject: Reply with quote

That's the error you would get if you are running useradd without root privileges...
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Fri Apr 11, 2003 4:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
AscendantMage
n00b
n00b


Joined: 29 Aug 2002
Posts: 35
Location: Oslo, Norway

PostPosted: Fri Apr 11, 2003 6:44 pm    Post subject: Reply with quote

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 :lol:
_________________
there are 10 kinds of people in the world -
those who understand binary, and those who don't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum