LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2004, 12:33 PM   #1
scuzzy
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
sshd problems:


I've got a problem with sshd on one of my systems

I've got two computers, Let's call them C1 and C2

now C2 is connected via ethernet to C1, and C1 is connected to the internet; they both have full network access.

Ever since I've gotten their network to run, C2 refuses to accept passwords from any account using sshd except for root; I'm trying to log into C2 from C1 using sshd.

It gives a "Permission Denied" error and fails every time, regardless of what I set the password to, or what I enter. It works absolutely fine with zero problems on the root account.

I've tried ssh-krb5 and just standard openSSH with no results between either of them.

What's the deal? Is it PAM screwing things up?
 
Old 07-28-2004, 06:25 PM   #2
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
PAM is the first thing I would look at. This is what my sshd PAM file looks like:

auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_limits.so
session optional /lib/security/pam_console.so
 
Old 07-29-2004, 08:10 AM   #3
scuzzy
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I just noticed today.


It's the same problem on the console, I can't log in as anyone other than root. I'm not sure what's going on, but it's really irritating.


Also, I rebuilt the kernel a few nights ago, I've been working from the console since then, but it went from kernel version 2.2 something to 2.6.7. Perhaps this could be the problem?

Last edited by scuzzy; 07-29-2004 at 08:12 AM.
 
Old 07-29-2004, 10:30 AM   #4
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
have you checked your /etc/passwd and /etc/group files to see if everything is ok with them?
 
Old 07-29-2004, 10:38 AM   #5
scuzzy
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
yep. sure have. no problems, all is normal.
 
Old 07-29-2004, 10:41 AM   #6
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
what shell are your users set up to use? is it the same as root? If nothing is wrong with the user accounts, then it must be an authentication problem.
 
Old 07-29-2004, 11:27 AM   #7
SheldonPlankton
Member
 
Registered: Jun 2004
Posts: 129

Rep: Reputation: 15
I had problem like this before. It turned out that another sys admin had run a buggy script that changed the file permissions of / to something like drwx------

Just something to check
 
Old 07-29-2004, 11:35 AM   #8
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
good point. check the permissions of the users directories and make sure there is x so they can chroot.
 
Old 07-29-2004, 12:44 PM   #9
scuzzy
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
nope, the permissions are correct. any other ideas?
 
  


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
Problems running sshd on gentoo locazor Linux - Security 8 05-20-2007 11:26 PM
SSHd Problems jedediah Linux - Enterprise 1 08-08-2005 12:38 PM
Problems Setting up SSHD nistelrooy Red Hat 1 11-10-2004 10:09 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 12:17 PM
SSHD Connection Problems KillerCheeto Linux - Newbie 4 12-18-2002 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 AM.

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