LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trying to install passwd, gives error about shadowconfig. (https://www.linuxquestions.org/questions/linux-software-2/trying-to-install-passwd-gives-error-about-shadowconfig-783296/)

tgp1994 01-19-2010 03:06 PM

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.

chrism01 01-19-2010 05:59 PM

Please show exact cmds & msgs to help us help you. Also, version of Debian may be important.

tgp1994 01-19-2010 08:50 PM

Quote:

Originally Posted by chrism01 (Post 3832761)
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.

tgp1994 01-20-2010 11:46 PM

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.

tgp1994 02-11-2010 08:33 PM

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.


All times are GMT -5. The time now is 03:29 PM.