LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-19-2010, 03:06 PM   #1
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Rep: Reputation: 17
Trying to install passwd, gives error about shadowconfig.


I'm in debian trying to install passwd. It's giving me a heck of a time with shadowconfig, because that program tells me what's wrong but doesn't fix it for me. Basically it is saying that there are a lot of entries missing from my shadow file. So how do I add them? I don't want to have to do it all by hand.
 
Old 01-19-2010, 05:59 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Please show exact cmds & msgs to help us help you. Also, version of Debian may be important.
 
Old 01-19-2010, 08:50 PM   #3
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by chrism01 View Post
to help us help you...
...help us all :P Quote from Portal

I kinda reformatted and I'm starting over again, so I'll try and work my way back up there tomorrow. If you know me at all you may know I like to break the nearest distro I can get my hands on, more specifically I like to mix and match. For example, I have a livecd called "Partition Magic", and my goal with that is to turn it into a fully functioning debian system. I had apt, as well as aptitude working, but I did something else that made me want to reformat. I'll try and get back to you tomorrow.
 
Old 01-20-2010, 11:46 PM   #4
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Original Poster
Rep: Reputation: 17
Ok, here is a dump from when dpkg was setting it up:

Code:
Unpacking passwd (from .../passwd_1%3a4.1.1-6_i386.deb) ...
Setting up passwd (1:4.1.1-6) ...
no matching password file entry in /etc/shadow
add user 'daemon' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'bin' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'sys' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'sync' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'games' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'man' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'lp' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'mail' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'news' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'uucp' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'proxy' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'www-data' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'backup' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'list' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'irc' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'gnats' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'nobody' in /etc/shadow? no matching password file entry in /etc/passwd
delete line 'messagebus:*:9797:0:::::'? no matching password file entry in /etc/passwd
delete line 'haldaemon:*:9797:0:::::'? pwck: no changes
Please correct the error and rerun `/sbin/shadowconfig on'
dpkg: error processing passwd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up passwd (1:4.1.1-6) ...
no matching password file entry in /etc/shadow
add user 'daemon' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'bin' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'sys' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'sync' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'games' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'man' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'lp' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'mail' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'news' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'uucp' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'proxy' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'www-data' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'backup' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'list' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'irc' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'gnats' in /etc/shadow? no matching password file entry in /etc/shadow
add user 'nobody' in /etc/shadow? no matching password file entry in /etc/passwd
delete line 'messagebus:*:9797:0:::::'? no matching password file entry in /etc/passwd
delete line 'haldaemon:*:9797:0:::::'? pwck: no changes
Please correct the error and rerun `/sbin/shadowconfig on'
dpkg: error processing passwd (--configure):
 subprocess post-installation script returned error exit status 1
Setting up libwww-perl (5.813-1) ...
Errors were encountered while processing:
 passwd
And that occurs when trying to setup passwd in dpkg. I have no real specific debian version here, since the kernel is a tad bit modified. But the kernel shouldn't really have much to do with this. The real problem is about some missing things in a file, which I don't really know how I should add.
 
Old 02-11-2010, 08:33 PM   #5
tgp1994
Member
 
Registered: Nov 2009
Distribution: Used to use: Ubuntu. Still use: Debian, Other small distros
Posts: 78

Original Poster
Rep: Reputation: 17
And now I'm encountering this problem again. I'm in a different situation, but trying to install passwd. If anyone has any knowledge on how passwd or shadow works, please help out here.
 
  


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
YP: Passwd authentication error vmsathar Linux - General 0 07-27-2007 01:15 AM
passwd root Error scbops Red Hat 4 04-24-2006 12:10 AM
shadowconfig asdfasdfasdfasdfasdf Debian 1 03-21-2006 12:14 PM
LDAP/passwd error labratmatt Linux - Software 0 01-24-2005 11:44 AM
passwd error jhbalto Linux - General 2 10-24-2000 11:25 AM

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

All times are GMT -5. The time now is 01:11 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