Solved

Root & User Account Authenticvation failed

Posted on 2003-11-02
17
414 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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
 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Question on netstat and Logmein 10 138
McAfee ePO benefits and use cases needed 4 79
iptables dropping lots of packets 3 63
How to use Rainbow Tables 6 99
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…
Fine Tune your automatic Updates for Ubuntu / Debian
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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