LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-25-2010, 10:36 AM   #1
keleas
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Rep: Reputation: -1
Locked out CentOS Putty


Hi,

Ive got a remote server with Centos and Ive been accessing ssh through Putty.

I can't log in as root user any more, just says Access denied. I've checked the secure log:

Oct 25 15:27:41 - sshd[-]: User root from -ip- allowed because not listed in AllowUsers
Oct 25 15:27:41 - sshd[-]: input_userauth_request: invalid user root
Oct 25 15:27:46 - sshd[-]: pam_unix(sshd:auth): authentication failure
; logname= uid=0 euid=0 tty=ssh ruser= rhost=-ip- user=root
Oct 25 15:27:48 - sshd[-]: Failed password for invalid user root from
-ip- port - ssh2

The sshd_config list does have 'root' in the Allowed list so I'm unsure why it wouldn't recognise that.

I was carrying out some changes so Im not entirely sure where the problem started, the latest I could remember is updating these files:

glibc i686 2.5-49.el5_5.6 updates 5.3 M
glibc-common i386 2.5-49.el5_5.6 updates 16 M
libbonobo i386 2.16.0-1.1.el5_5.1 updates 502 k
libpurple i386 2.6.6-5.el5_5 updates 8.3 M
nscd i386 2.5-49.el5_5.6 updates 165 k

Anyone faced a similar problem?
Cheers

Last edited by keleas; 10-25-2010 at 10:38 AM.
 
Old 10-25-2010, 02:47 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790
If you SOLVED this problem as noted please post your solution so others who have the issue in future will be able to find it.
 
Old 10-25-2010, 08:00 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by keleas View Post

The sshd_config list does have 'root' in the Allowed list so I'm unsure why it wouldn't recognise that.

I was carrying out some changes so Im not entirely sure where the problem started, the latest I could remember is updating these files:

glibc i686 2.5-49.el5_5.6 updates 5.3 M
glibc-common i386 2.5-49.el5_5.6 updates 16 M
libbonobo i386 2.16.0-1.1.el5_5.1 updates 502 k
libpurple i386 2.6.6-5.el5_5 updates 8.3 M
nscd i386 2.5-49.el5_5.6 updates 165 k

Anyone faced a similar problem?
Cheers
HOW did you carry out those "changes"?



Cheers,
Tink
 
Old 10-26-2010, 05:23 AM   #4
keleas
LQ Newbie
 
Registered: Oct 2010
Posts: 10

Original Poster
Rep: Reputation: -1
It wasnt really a solution so much as deleting the entire AllowUsers list & members which caused it to work again.

Not entirely sure how the problem started and why this fixed it.

cheers
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Booting Centos 5.4 Issue: "CentOS CD Not found in any of the media drives. Please i g.navink Red Hat 1 04-07-2010 05:12 PM
Putty logs me out / Putty throws me out after I log in ytd Linux - General 15 08-09-2009 04:03 AM
Tomcat6 + CentOS 3/4/5"tomcat dead but subsys locked" slinx Linux - Software 3 03-31-2009 09:37 AM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 12:40 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM


All times are GMT -5. The time now is 09:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration