LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-12-2005, 05:28 AM   #1
dushan
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
login incorrect without propting password


Hi.

I creating my own distro and I have one problem with /bin/login.

I have /etc/passwd and /etc/shadow and PAM and /lib/security set up proberly but after boot when i want to log in, it wrote:

login: root<here I press enter>
Login incorrect

Login incorrect

Login incorrect
Login:

The login and other programs are taken from RedHat 7.2, If I use tinylogin than it works fine. I try also a empty password for root and other users but the result is the same...

Can anyone help me with this problem?

dushan
 
Old 12-12-2005, 05:39 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If I use tinylogin than it works fine. I try also a empty password
If you verified the auth mechanism works, then trying empty pass doesnt make much sense. If your auth/system logs don't show anything I would suggest adding debug switch to the modules in the PAM login stack, try again and then check your logs for info.
 
  


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
login incorrect before password ourlinuxid Linux - Security 4 01-22-2005 01:35 AM
Gaim logging incorrect password zitro2 Linux - Software 1 09-15-2004 10:46 PM
incorrect password (can single, but can't su) david_reno Linux - Software 2 06-19-2003 09:42 PM
incorrect password when logging in as su - DMB Linux - General 3 07-09-2002 03:00 PM
Logging in as root with incorrect password! Colonel Panic Linux - General 2 08-03-2001 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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