LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2006, 08:08 AM   #1
abhi_raj
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Lightbulb unable to login as user other than root on RHEL 4 done some changes in etc /shawdow


i am using RHEL 4 .i had done some changes /shawdow file for kerbros authentication but now unable to login as any nonprivelage user.
My /etc/shawdow:
root:$1$Q1Ge3Ixm$wpN0E9TN/I95gePVHdPn71:13347:0:99999:7:::
bin:*:13344:0:99999:7:::
daemon:*:13344:0:99999:7:::
adm:*:13344:0:99999:7:::
lp:*:13344:0:99999:7:::
sync:*:13344:0:99999:7:::
shutdown:*:13344:0:99999:7:::
halt:*:13344:0:99999:7:::
mail:*:13344:0:99999:7:::
news:*:13344:0:99999:7:::
uucp:*:13344:0:99999:7:::
operator:*:13344:0:99999:7:::
games:*:13344:0:99999:7:::
gopher:*:13344:0:99999:7:::
ftp:*:13344:0:99999:7:::
nobody:*:13344:0:99999:7:::
dbus:!!:13344:0:99999:7:::
vcsa:!!:13344:0:99999:7:::
nscd:!!:13344:0:99999:7:::
rpm:!!:13344:0:99999:7:::
haldaemon:!!:13344:0:99999:7:::
netdump:!!:13344:0:99999:7:::
ident:!!:13344:0:99999:7:::
sshd:!!:13344:0:99999:7:::
rpc:!!:13344:0:99999:7:::
rpcuser:!!:13344:0:99999:7:::
nfsnobody:!!:13344:0:99999:7:::
mailnull:!!:13344:0:99999:7:::
smmsp:!!:13344:0:99999:7:::
pcap:!!:13344:0:99999:7:::
apache:!!:13344:0:99999:7:::
squid:!!:13344:0:99999:7:::
webalizer:!!:13344:0:99999:7:::
xfs:!!:13344:0:99999:7:::
ntp:!!:13344:0:99999:7:::
gdm:!!:13344:0:99999:7:::
htt:!!:13344:0:99999:7:::
pvm:!!:13344:0:99999:7:::
canna:!!:13344:0:99999:7:::
wnn:!!:13344:0:99999:7:::
quagga:!!:13344:0:99999:7:::
cyrus:!!:13344:0:99999:7:::
dovecot:!!:13344:0:99999:7:::
postfix:!!:13344:0:99999:7:::
mailman:!!:13344:0:99999:7:::
mysql:!!:13344:0:99999:7:::
postgres:$1$mYS4p0/G$7H9vmkr72yUig8zguawQi/:13344:0:99999:7:::
amanda:!!:13344:0:99999:7:::
fax:!!:13344:0:99999:7:::
named:!!:13344:0:99999:7:::
exim:!!:13344:0:99999:7:::
ldap:!!:13344:0:99999:7:::
radiusd:!!:13344:0:99999:7:::
radvd:!!:13344:0:99999:7:::
abhi_raj:$1$QpnDn6Ub$W8yATf4.Rx0ljnM5wLYNo1:13344:0:99999:7:::
student:$1$mnoKrC20$/MZvu9nepeB.fHYKVrVZe/:13344:0:99999:7:::
azure:$1$MWWo11.Q$laj/tQ6J24Z9d8YBzNhNJ/:13344:0:99999:7:::
shiv:$1$87D7hy2.$nBrtHzUC2K1W6SIG90ViW.:13347:0:99999:7:::




log error is following
Jul 18 18:17:22 abhi login(pam_unix)[10953]: authentication failure; logname=LOGIN uid=0 euid=0 tty=tty1 ruser= rhost= user=abhi_raj
Jul 18 18:17:44 abhi login[10953]: pam_krb5[10953]: authentication fails for 'abhi_raj' (abhi_raj@KIIT.COM): Authentication service cannot retrieve authentication info. (Cannot contact any KDC for requested realm)
Jul 18 18:17:47 abhi login[10953]: FAILED LOGIN 1 FROM (null) FOR abhi_raj, Authentication failure
Jul 18 18:17:52 abhi login(pam_unix)[7318]: authentication failure; logname=LOGIN uid=0 euid=0 tty=tty2 ruser= rhost= user=abhi_raj
Jul 18 18:18:14 abhi login[7318]: pam_krb5[7318]: authentication fails for 'abhi_raj' (abhi_raj@KIIT.COM): Authentication service cannot retrieve authentication info. (Cannot contact any KDC for requested realm)
Jul 18 18:18:16 abhi login[7318]: FAILED LOGIN 1 FROM (null) FOR abhi_raj, Authentication failure
Jul 18 18:18:18 abhi init: open(/dev/pts/0): No such file or directory
Jul 18 18:18:44 abhi passwd(pam_unix)[11394]: password changed for shiv
Jul 18 18:18:49 abhi init: open(/dev/pts/0): No such file or directory








plz help me way out???????????????????
 
Old 07-18-2006, 08:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would wonder if your /etc/nsswitch.conf file has been changed to only allow krb5 access via login? what does that file say for the passwd and shadow entries? if it doesn't like "files" as an option, add it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
root(super user) is unable to login by using Telnet mahabooba Linux - Networking 10 02-02-2006 11:40 PM
lock root account after 3 login attempts - RHEL AS 3 jrparker2005 Red Hat 1 05-17-2005 12:43 PM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration