LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-06-2002, 01:07 PM   #1
DMB
LQ Newbie
 
Registered: Jul 2002
Posts: 8

Rep: Reputation: 0
passwd: Module is unknown


Hi everyone! I could definitely use some assistance. I'm stuck right now. I can't login into my machine and I can't reset the password. When I type passwd admin at the command line I receive the following error:

passwd: Module is unknown

Has anyone seen this before? If so how can I change my password so I can log into my machine normal?

 
Old 07-06-2002, 01:11 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Ok, I'm confused

You say you cannot login?

If you have a prompt then you are logged in.


Are you logged in as root?

Is there a user named admin that you cannot log into any more?

try /usr/bin/passwd admin

Last edited by DavidPhillips; 07-06-2002 at 01:13 PM.
 
Old 07-06-2002, 01:12 PM   #3
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
What distro did you say your using?

I'm confused? You say you cann't login you into you machine? How are you getting to the command line?

Which password? The standard user account you created for yourself or root?

Last edited by pickledbeans; 07-06-2002 at 01:14 PM.
 
Old 07-06-2002, 01:16 PM   #4
DMB
LQ Newbie
 
Registered: Jul 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry about that...

I am consoled into my machine with monitor and keyboard and rebooted the machine into single user mode. That's why I'm at a command prompt. But if I try and log in normal it will not except any password, when I go in through single user mode and try to change the password then I receive the error:

passwd: Module is unknown

I apologize for the confusion.
 
Old 07-06-2002, 01:22 PM   #5
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Did you try using the path/command that DavidPhillips,
suggested?

Are you mounting /usr from different parititoin?
Single user mode only mount the root device i.e.


/dev/hda1 /
/dev/hda2 /usr

Single user mode (init 1) only /dev/hda1 will be mounted?
If that is the case you'lll have to mount /dev/hda2 /usr
 
Old 07-06-2002, 01:23 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
depending on your distro look in /var/log/messages

or /var/log/warn


maybe some clue about the problem


try this

tail -f /var/log/messages



then in another terminal try the passwd command
 
Old 07-06-2002, 01:26 PM   #7
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
One other question? Did you create the admin account youself? That sound like account created by the system for its's use?

Post the output from these commnads please:
grep -i admin /etc/passwd
grep -i admin/etc/shadow
 
Old 07-06-2002, 01:40 PM   #8
DMB
LQ Newbie
 
Registered: Jul 2002
Posts: 8

Original Poster
Rep: Reputation: 0
I did try /usr/bin/passwd admin, and same result.
passwd: Module is unknown


I tailed the messages log when running the command and no error or reply was displayed.


The return of the two commands grep -i admin /etc/passwd and
grep -i admin/etc/shadow are as follows:

grep -i admin /etc/passwd

admin:x:110:27:Administrator:/home/sites/home/users/admin/bin/bash

grep -i admin/etc/shadow

admin:11874:0:99999:7:::

This is my buddies machine, he said he did not make any changes. I checked the .bash_history and nothing noticable was displayed.
 
Old 07-06-2002, 01:52 PM   #9
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Quote:
Originally posted by DMB
I did try /usr/bin/passwd admin, and same result.

admin:x:110:27:Administrator:/home/sites/home/users/admin/bin/bash
admin:11874:0:99999:7:::
What distro is you buddy running?
This sure looks like a system account, and not a user acccount
What happens if you try to su - admin?
look at /etc/group and see what "27" is assigned to?


Neither of these look right to me

There isn't any passwd listed in /etc/shadow?

use (as root)
vipw
and compare the admin entry to other user accounts
 
Old 07-06-2002, 02:25 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
one problem is that the colon is missing between the home folder and the /bin/bash

admin:x:110:27:Administrator:/home/sites/home/users/admin:/bin/bash
 
Old 07-06-2002, 02:31 PM   #11
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Quote:
Originally posted by DMB
I
grep -i admin/etc/shadow

admin:11874:0:99999:7:::
DavidPhilps --
What do you thinks about the shadow file?
Does this look like a system account to you?
 
Old 07-06-2002, 02:44 PM   #12
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
OK I justed check /etc/passwd and /etc/group on RH7.2
Any group id <= 100 used by the system.

Any user id < 500 is used by the system

The admin account you listed has a userid of 110 and a group id of 27? This would suggest this is systems account?

And system accounts aren't supposed to have valid logins.

Which would explain why /etc/passwd looks os funky?

Ask you buddy if he/she crearted this login? If not don't touch it.
 
Old 07-06-2002, 02:53 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
that's how it looks to me

All users will be > 499
 
Old 07-06-2002, 03:21 PM   #14
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
See my post re: my little bundle of joy
 
Old 07-06-2002, 03:23 PM   #15
DMB
LQ Newbie
 
Registered: Jul 2002
Posts: 8

Original Poster
Rep: Reputation: 0
Nope my buddy did not create the login and I didn't touch anything. I know how easily I can screw something. Basically I came over to my buddies house and he said the he was trying to login to his machine and could not do so. He said he didn't change anything, which of course is hard to believe, because how can this just happen. Who knows?

Any ways...this is a cobalt RaQ 4 server running RedHat 6.2

So neither of you have seen this return before? I can't find much on google.com/linux either. Crazy.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
passwd: User not known to the underlying authentication module tinaa Linux - General 2 05-18-2008 10:54 AM
modprobe -> Unknown symbol in module sara_W Linux - Wireless Networking 1 09-13-2004 12:32 AM
Configuring /etc/pam.d/passwd module plexus Linux - Security 2 05-25-2004 07:55 PM
passwd: User not known to the underlying authentication module ar1 Linux - Security 5 04-09-2004 04:10 PM
Unknown kernel module??? help RecoilUK Linux - Software 1 07-21-2001 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:16 PM.

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