Solved

Root & User Account Authenticvation failed

Posted on 2003-11-02
17
412 Views
Last Modified: 2010-04-22
Dear Experts,

I am using Red hat 9.0.Tomorrow I was (sunday) using XCHAT as root.  When I login next time, as Root or my one user account.  It gives message "Authentication Failed". But when I login with non existing accounts then it simply blank the text area for another user name entry.


This way my system is useless.  It do not want to format my system. Because there is very important data.  So tell tell me the right way to access my system.
0
Comment
Question by:turiyain
17 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9669198
Do you mean root is the only user you have in your linux box? if yes, are you sure you used the correct root password?

If you forgot you root password, can you physicaly access the linux box? if yes, try download the linux on a CD or floppy from here http://bengross.com/smallunix.html or http://dilbert.physast.uga.edu/~andy/minilinux.html, boot up with this CD or floppy, run fdisk -l to found out the partition of /etc, mount the /etc, in the /etc/shadow, change the entry 'root:$1$ve.2WRaU$F8FZqVNwcgQftsnWCG5Ig0:12202:0:99999:7:::'  to 'root::12202:0:99999:7:::' this will remove the root password, so after you reboot the original linux, there will be no root password, after login as root (without the password) add the root password by 'passwd' or 'passwd root'.
0
 

Author Comment

by:turiyain
ID: 9669249
I am having two user

1. Root - default
2. vijay - created

I am using the correct password.  Both the mentioned user account are giving the message 'authentication failed'.   I accessed the system with these accounts and their password many times.  There is scope of error in typing or spelling.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9669284
How you access your linux distro? using XCHAT? have you setup anything to restric access after last login?

is it the same error even you physicaly access the server? have you try remove the root password and login as root without prassword as I suggest above?

try and post your result please
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9669548
boot your box with the parameter
  init=/bin/sh
at you LILO prompt
then you can reset all passwords in /etc/passwd and/or /etc/shadow
0
 

Author Comment

by:turiyain
ID: 9676413
Pall,

I am confused with your link:
http://bengross.com/smallunix.html, I have visited it. Tell me that what file I have to download to make bootable floppy.
Because in the home page a lot of options on the mentiioned link.  Please give me the final link address.
 
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9676518
Sorry for the confusion, try this http://www.toms.net/rb/
0
 
LVL 12

Accepted Solution

by:
paullamhkg earned 30 total points
ID: 9676522
and this also a good one http://www.itm.tu-clausthal.de/~perle/hal91/

Both can get a linux on a floppy with the fdisk :)
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 12

Expert Comment

by:paullamhkg
ID: 9691480
Why to close and delete this question? is the asker find the solution? if yes, what's the solution?

Also if need to close, why not PAQ'd and no refund?
0
 

Author Comment

by:turiyain
ID: 9692421
Pall always try to give his best answers.  I appreciate it.  And I do not want to discourage him.

Give him the 30 points and close the question.

Hope that pall not mind it.  and in future give me his valueable knowledge.


0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9692533
I'm not looking for points, I'm just wanted to know how you solve you problem, I'm here to learn and try my best to help, that's why I keep asking the solution.

Also I think this TA have some hints for others, so why delete it? I suggest to keep this.
0
 

Author Comment

by:turiyain
ID: 9692907
Just i want to close the matter.  Because i tried to down load the files but all in vain.  Is it not possible to give  information not depends on other unavail resources. For e.g. to down load files from net...
So i request to give information on resources avail on hand as like Boot able CD,bootable floopy or some tricky tip.

0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9693027
Just downlaod the http://www.itm.tu-clausthal.de/~perle/hal91/hal91.img, if you wanted to create the boot disk from unix/linux. procedure

put a formatted floppy into floppy drive, in the console prompt run "dd if=hal91.img of=/dev/fd0"

if you going to create the boot disk from M$ windoz download the above img and http://www.itm.tu-clausthal.de/~perle/hal91/rawrite2.exe, put the formatted floppy into the floppy drive get into Dos prompt run "rawrite2 -f hal91.img -d a:" (ensure the rawrite.exe and hal91.img on the same directory)

So that you can create the boot disk, and I create this many time for my friends and they all happy on it. (this kind of linux only for restore your password or system)

for create a floppy from your existing RH linux try take a look on this http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/rhbootdisk.html

Hope this can give you more hints

0
 

Author Comment

by:turiyain
ID: 9699131
Pall

Thanking you....
What a surprise.  axpecting this from your
0
 

Author Comment

by:turiyain
ID: 9713535
Please do not delete this question.. Keep it for others information.

0
 

Expert Comment

by:ravie
ID: 9788798
hi
       at LILO prompt press control +X
        there  u plz  type linux single
         ur system boot and will not ask any passwords
         there u can chage the passwords ..
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now