The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
grep unix.com with google



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 11-27-2009
Banned
 

Join Date: Nov 2009
Location: Hyderabad
Posts: 22
Authentication failed !

Hey since this morning I(nonrrot user) am not able to log into my system with my username. I am using redhat linux kernel release 2.6.9-5.ELsmp. I aslo found the folowing output for chkconfig command:
[root@Station130 ~]# chkconfig --list|grep ldap
ldap 0: off 1: off 2: off 3: off 4: off 5: off 6: off
can anyone help me in getting out of this?



Thanks in advance.
  #2 (permalink)  
Old 11-27-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030

Code:
service ldap start

What is the output from getent passwd?

Last edited by fpmurphy; 12-01-2009 at 12:53 PM..
  #3 (permalink)  
Old 12-01-2009
Banned
 

Join Date: Nov 2009
Location: Hyderabad
Posts: 22
Ashok:x:516:516::/home/Ashok:/bin/bash
  #4 (permalink)  
Old 12-01-2009
fpmurphy's Avatar
Moderator
 

Join Date: Dec 2003
Location: Florida
Posts: 2,030
So how were you are to get the (correct) result of getent passwd if you were not able to login in?
  #5 (permalink)  
Old 12-02-2009
Banned
 

Join Date: Nov 2009
Location: Hyderabad
Posts: 22
Ya, I am able to login now. It's some mistake I did with my LDAP configuration.
So, I disabled the LDAP configuration and used MD5 password authentication.
But, there is a problem. All working fine except that I am getiing some folder name like
"Somebody's Home" instead of "Ashok's Home" on my Desktop and my system got slow while accessing my folders/files in my filesystem.
Also, when I try to open my terminal I am getting the commandline as:
id: cannot find name for user ID 516
[I have no name!@Station130 ~]$

Can you please assist me?
Thanks in advance.
  #6 (permalink)  
Old 12-03-2009
Banned
 

Join Date: Nov 2009
Location: Hyderabad
Posts: 22
For your kind information the contes of different files are as follows.
Contents of passwd file:

Code:
[root@Station130 ~]# cat /etc/passwd
 .........
 Ashok:x:516:516::/home/Ashok:/bin/bash
.........

Contents of group file:

Code:
[root@Station130 ~]# cat /etc/group
 .........
 Ashok:x:516:
.........

Output of ls -l /home command:

Code:
[I have no name!@Station130 ~]$ ls -l /home
 drwx------  30 516 Ashok    4096 Dec  3 13:58 Ashok

Waiting for support,
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SFTP Failed---Request for subsystem 'sftp' failed on channel 0 mahiban AIX 0 07-25-2008 03:51 AM
passphrase and ssh authentication Minguccio75 UNIX for Advanced & Expert Users 1 01-19-2007 07:27 AM
Netcat with Authentication? pileofrogs UNIX for Advanced & Expert Users 1 12-04-2006 10:48 AM
How to find authentication log qais UNIX for Dummies Questions & Answers 1 11-14-2006 10:08 AM
SSH key authentication stancwong UNIX for Dummies Questions & Answers 3 02-24-2006 06:19 AM



All times are GMT -4. The time now is 09:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0