LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2002, 11:47 AM   #1
sunnycn
LQ Newbie
 
Registered: May 2002
Posts: 5

Rep: Reputation: 0
Question How to modify PAM.d conf. files


help me , i am a newbie....
i forgot root password ,then i go into sigle user mode and want to change a new password using passwd command,but fail ...now i only login system through linux single mode, can you help me?

run redhat 6.2(Zoot) ,kernel 2.2.14-5.0 on an i586.

apsswd error information: use not known to the underlying
authentication module

lilo boot: linux single

login conf. file:
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_pwdb.so shadow nullok
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_pwdb.so
passwd required /lib/security/pam_cracklib.so
passwd required /lib/security/pam_pwdb.so nullok
use_authok md5 shadow
session required /lib/security/pam_pwdb.so
session optional /lib/security/pam_console.so

passwd conf. file:
auth required /lib/security/pam_pwdb.so shadow nullok
account required /lib/security/pam_pwdb.so
passwd required /lib/security/pam_cracklib.so
passwd required /lib/security/pam_pwdb.so use_authok nullok
md5 shadow

HOW TO RECOVERY original Login ? How to modify conf. files?
give me detail..


Thanks in advance

sunny
 
  


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
PAM and nsswitch.conf stand Linux - General 3 09-09-2011 11:25 AM
Modify grub.conf DanielTan Linux - Newbie 9 01-02-2005 12:35 PM
Modify named.conf file pkrishna10 Linux - Networking 3 10-22-2004 02:03 PM
How to modify grub.conf george_mercury Linux - Newbie 1 06-14-2004 10:16 AM
Need to modify - modules.conf lowlifeboy Debian 3 02-22-2004 03:52 PM


All times are GMT -5. The time now is 05:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration