Authentication failure fedora 12
Ok so I have a hard drive with fedora 12 installed on it. I use it at school and now i connected it to my desktop at home and booted from it. Fedora loads fine but doesnt login to my username. It says authentication failure. I have changed the passwd from terminal multiple times. even removed passwd for user and root. Also tried to login as root by commenting out the line in the file gdm and gdm-password but still cant login. I can how ever change passwords from terminal using single user mode. Any help would be greatly appreciated.. Im reallly stumped on this one. Oh I also tried the hdd in school an it doesnt work there either now. Also tried new user same msg authentication failure. Thanks
|
This should help:
http://blog.ask4itsolutions.com/2009...gui-fedora-12/ |
Quote:
and than in login typing root and no password. Still no authentication. Created usernames and still nothing! I hope someone can help me out as I'm fairly new at Linux! I even removed user password so it doesn't event prompt for a password and says authentication failed. Thanks |
Quote:
What about the other user accounts, are they logging in in GUI successfully? |
Quote:
Also the other user accounts do not login. Same message authentication failure. I created the accounts using adduser and set passwords for them. Even if no pass is set they don't login. I can access terminal in single user mode. |
No Linux gurus to my rescue? Format is my last resort :(
|
Have you checked the log files?
Evo2. |
Quote:
view log page by page. |
Quote:
Code:
ls -ltr /var/log | tail Then look in each of those files using the less commmand. For example Code:
less /var/log/syslog In one of those files you should be able to find some information about why you were not able to log in in the gui. So, have a look and then tell us if you find anything suspicious. Cheers, Evo2. |
Quote:
for user and logged out but still it says authentication failure. Less /var/log/secure localhost unix_chkpwd (1669): password check failed fir user aapanju localhost sshd (4626): fatal: access denied for user aapanju by Pam account configurator sshd failed password fir aapanju from (ip adress here) port (here) ssh2 |
What does this mean??
Localhost sshd 3882 invalid user Ali from ipaddress localhost sshd 3884 input_userauth_request: invalid user Ali localhost sshd 3882 Pam_unix(sshd:auth) check pass user unknown I'm lost :( |
Ok, what method are you using to change your password? Are you using "passwd aapanju" as root? Are any error messages reported?
Also, I'd like it if you could confirm what is and is not actually working. Eg. console login as which users? ssh login? (seems this fails), X login, and also what about login in as root and then "su aapanju"? Evo2. |
Quote:
Evo2. |
Quote:
Mar 7 14:28:15 localhost pam: gdm-password[1815]: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=fedora Mar 7 14:28:24 localhost sshd[1531]: Received signal 15; terminating. Mar 7 14:38:27 localhost sshd[1454]: Server listening on 0.0.0.0 port 22. Mar 7 14:38:27 localhost sshd[1454]: Server listening on :: port 22. Mar 7 14:38:44 localhost pam: gdm-password[1716]: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=root Mar 7 14:39:06 localhost pam: gdm-password[1752]: pam_selinux_permit(gdm-passwo rd:auth): Cannot determine the user's name Mar 7 14:39:06 localhost pam: gdm-password[1752]: pam_unix(gdm-password:auth): check pass; user unknown Mar 7 14:39:06 localhost pam: gdm-password[1752]: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= Mar 7 14:39:06 localhost pam: gdm-password[1752]: pam_succeed_if(gdm-password:a uth): error retrieving information about user Mar 7 14:39:06 localhost pam: gdm-password[1752]: gkr-pam: error looking up user information for: Mar 7 14:39:17 localhost pam: gdm-password[1762]: pam_unix(gdm-password:auth): Mar 7 19:36:34 localhost userhelper[2850]: pam_timestamp(system-config-authentication:session): updated timestamp file `/var/run/sudo/root/unknown' Mar 7 19:36:34 localhost userhelper[2854]: running '/usr/share/authconfig/authconfig-gtk.py ' with root privileges on behalf of 'root' Mar 7 19:37:10 localhost userhelper[2873]: pam_timestamp(system-config-selinux:session): updated timestamp file `/var/run/sudo/root/unknown' Mar 7 19:37:10 localhost userhelper[2876]: running '/usr/share/system-config-selinux/system-config-selinux.py ' with root privileges on behalf of 'root' Mar 7 19:38:22 localhost userhelper[3100]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown' Mar 7 19:38:22 localhost userhelper[3103]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root' Mar 7 19:40:38 localhost pam: gdm-password[3202]: pam_unix(gdm-password:session): session opened for user root by (uid=0) Mar 7 19:48:00 localhost passwd: pam_unix(passwd:chauthtok): password changed for aapanju Mar 7 19:48:00 localhost passwd: gkr-pam: couldn't update the 'login' keyring password: no old password was entered Mar 7 19:51:25 localhost userhelper[3867]: pam_timestamp(system-config-authentication:session): updated timestamp file `/var/run/sudo/root/unknown' Mar 7 19:51:25 localhost userhelper[3870]: running '/usr/share/authconfig/authconfig-gtk.py ' with root privileges on behalf of 'root' this is what all get from /var/log/secure if it makes any sense to you. Could you suggest what I can do to be able to loging to my usual user ? or should i delete the user an create another user but than I will loose all data associated with that login. I have disabled sshd as of now. |
Solved! Disabled sshd rebooted system and I logged in!! Thanks so much! Still don't understand
what was going on and why I couldn't login. |
All times are GMT -5. The time now is 02:48 AM. |