Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-08-2005, 02:08 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 25

Rep: Reputation: 15
useradd without shadow password

I am playing around a bit with passwords and in particular the shadow password, One thing that confuses me is when I try to add a password to a newly created user account with the shadow password system turned off (via pwunconv command). Everything starts out OK with the passwd command asking me for the new password and then confirming it. Then it get an error message stating "User not known to the underlying authentication module"
If I turn on the shadow password system I can add a new password but not with it turned off.
I have a feeling it might have something to do with PAM but I don't know why.

Appreciate if someone could explain this to me.


Old 09-08-2005, 02:14 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
I believe it adds a user with a default password, then actually changes the password. Perhaps it never adds an entry to shadow, but then the password change tries to change it in shadow.


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
shadow password - password field ayhopkins Linux - Security 8 11-17-2005 05:25 AM
useradd not found, but shadow is installed Ziax Fedora 2 10-16-2005 05:37 AM
Password Problems With useradd Jude Lucien Debian 4 08-18-2005 10:44 AM
/etc/shadow and useradd -p usermod -p granny Linux - Security 3 08-29-2003 12:24 AM
shadow password wincrk Linux - Security 3 03-16-2003 09:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:54 PM.

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