LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-17-2004, 08:11 PM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Error adding new user


I want to add a new user to my linux system. A problem happened when i issued "passwd username" to set a password for the user.
The error message says "passwd: user not known to the underlying authentication module".

So what's wrong?


Thanks,
 
Old 10-17-2004, 10:32 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Did you add the user (with useradd) before trying to set the password?
 
Old 10-17-2004, 10:35 PM   #3
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Yes, sure.

I can add user without any problems when i used webmin.
 
Old 10-17-2004, 10:57 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Check that the user exists in /etc/passwd, just to be sure, but otherwise it seems like a PAM configuration error. You could look at the appropriate files under /etc (usually pam.conf and/or files in the pam.d directory)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding User? cry0x Linux - Software 5 02-27-2005 04:15 PM
adding a user nicolas9510 Red Hat 9 01-27-2005 04:18 PM
adding user paschim Linux - Newbie 4 06-27-2004 05:05 AM
Adding user desbyleo Linux - Newbie 3 02-18-2002 07:15 PM
user adding sathu Linux - Newbie 1 02-12-2002 05:19 AM


All times are GMT -5. The time now is 09:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration