?
Solved

Authentication failed

Posted on 2003-02-28
6
Medium Priority
?
367 Views
Last Modified: 2010-05-18
Hi,

I am new to linux, i did freak out inside linux. After that i  restarted the machine, and now i am not able to login. I am getting a message 'Authentication failed'. If i am giving wrong password there is another message coming saying 'wrong user name' Authentication failed is displayed on a dialog box. I created another user and tried to log in the same message is displayed.

could you tell me why is it so?

Narayanan
0
Comment
Question by:n_k_n
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

Expert Comment

by:kiranghag
ID: 8046186
assuming redhat linux
can u login in using "root"???
if this is your machine and lilo is installed...you can say "linux single" when the text lilo prompt is on screen.
if u get colorful lilo with penguin on screen.
press control+x to get to the text prompt.

if u can boot into single mode...you can edit /ec/passwd file and remove the password for an user by deleting the junk part (between two :) from the line which corresponds to the user's name (be careful)

after u save and reboot, that user will not asked for password. and u can again change it to whatever u want from the command prompt.

make cure u copy /etc/passwd file as a backup if in case u edit it wrongly.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8047741
do not edit your /etc/passwd to remove the entry for a password, assuming you do get it right and setup no pasword that means once you get on the net anyone who tries to get in as that user can do it with no password!

Ok, when you created the user did you create a password for them? Otherwise the account is disabled be default, which is whyt you cant login.

useradd test
passwd test
<enter password 2x>

now you should be able to login
0
 

Expert Comment

by:ken_330
ID: 8051378
hi ,
   U are mostlikely to have forgotten the Passwd or key in the wrong thing.Remember, LINUX and all UNIX are Uppercase and lowercase counts.I advice for newbie , u should use easy passwd or u write it down during the installation ,so u wont be wrong .
   As for other choice, boot into single usermode as advice by the former answerlist.

 
0
 

Expert Comment

by:CleanupPing
ID: 9077752
n_k_n:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11071934
PAQed - no points refunded (of 200)

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

770 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