LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-08-2005, 02:08 PM   #1
twallstr
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.

Thanks!

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

Rep: Reputation: 128Reputation: 128
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration