login problem

I have just installed madake 6.1 off of this mounths pc answers magazine. Once it has installed and rebooted it wont let me log in . The login screen(text) is there but it wont even go pas entering my loggin name. Once i hit enter it just goes back to the login name script. Help?
MarktalbotAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DVBCommented:
Boot into single user mode with linux single or linux 1. This bypasses the login script. Check the file /etc/passwd to ensure that the user name is there.
If that is there, fiddle about with the settings in /etc/pam.d/login. Use # to comment out a few lines and then try logging in.
If the user is not there, add a line for the user as given by the other lines. Keep the second field blank. If the file /etc/shadow exists, do the same thing in this file. save and exit. init 3.
This should work. Best of luck.
0
steven112699Commented:
Have you logged in as ROOT initially.  The first boot after installation requires this action.  Your login is ROOT and your passwd is the one you were prompted for during the installation routine.

After the initial login you can change the user permissions so you do not have to log in as ROOT.
0
TYoungCommented:
When you go into single user mode, check that /etc/nologin does not exist. If it does, then that would also be a problem. The command to change a password is: passwd

Such as:

passwd
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully


You may also specify a user after the passwd command to change a different user's password. Such as: passwd bob

To get rid of any password in /etc/passwd, you may remove the delete the encrypted part of the entry, for example:

root:Vi4gom4fAifu65IM:0:0:root:/root:/bin/bash

and change it to:

root::0:0:root:/root:/bin/bash

When you login, don't enter a password, and on some systems, it won't even prompt you for a password. Make sure you have one after you figure out what is wrong, because not having one is a security hazzard.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DVBCommented:
Thats assumes that you have not enabled shadow files.
If you have enabled shadow passwords, do the same thing in /etc/shadow.
If you haven't done that, enable shadow passwords.
0
DVBCommented:
Umm that last comment applies after you have solved this problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.