Authentication failed !

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Authentication failed !
# 1  
Old 11-27-2009
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  
Old 11-27-2009
Code:
service ldap start

What is the output from getent passwd?

Last edited by fpmurphy; 12-01-2009 at 12:53 PM..
# 3  
Old 12-01-2009
Ashok:x:516:516::/home/Ashok:/bin/bash
# 4  
Old 12-01-2009
So how were you are to get the (correct) result of getent passwd if you were not able to login in?
# 5  
Old 12-02-2009
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  
Old 12-03-2009
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,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies

2. SuSE

Authentication with PAM

Hello all, I recently updated PAM policy files (pam_authz.policy) on HP-UX Servers with AD groups involving allowing and denying the certain groups.. Could anyone tell me what is the equivalent mechanism in SLES(Linux)? Is it possible to allow/deny AD group access with the SLES LDAP... (0 Replies)
Discussion started by: lcclaj0
0 Replies

3. UNIX for Dummies Questions & Answers

Sendemail Error - Authentication... failed

SCO Unix OpenServer v6. We use the script below for sending mass emails with attachments. sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO MAIL_SVR=SMPTOUT.SECURESERVER.NET ... (0 Replies)
Discussion started by: jet47
0 Replies

4. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

5. Red Hat

Red Hat Cluster Luci Authentication Failed

Hello everyone, I'm setting up a cluster with 2 nodes using Red Hat enterprise 6.2 x86_64, 1 luci and 1 ricci for education purpose. Ricci is installed and already running and luci is installed and running but at the time of add and create the cluster through the web gui it give me a error... (1 Reply)
Discussion started by: typeav
1 Replies

6. Red Hat

Authentication Failed

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (4 Replies)
Discussion started by: coolboys
4 Replies

7. Red Hat

Authentication Failed in Linux centos

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (0 Replies)
Discussion started by: coolboys
0 Replies

8. Red Hat

Authentication Failed Dialog Box on Redhat 4.7

For some reason i cannot login using root or other accounts on my Linux system. When logging in at the main console it says "Authentication failed" in a dialog box with an OK button. The Linux system is Redhat 4.7. I've already checked /etc/pam.d/login, /etc/security/access.conf and ... (27 Replies)
Discussion started by: redhatuser2012
27 Replies

9. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

10. AIX

SFTP Failed---Request for subsystem 'sftp' failed on channel 0

Hi, While I am trying SFTP my machine to another unix machine , it was working fine till 10 min back. But now i am getting the below error "Request for subsystem 'sftp' failed on channel 0" Could you please someone help me to solve or analyise the root cause... Cheers:b:, Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies
Login or Register to Ask a Question