cancel
Showing results for 
Search instead for 
Did you mean: 

ssh pam and tcp_wrappers

Aaron Sheard
Frequent Advisor

ssh pam and tcp_wrappers

I have successfully upgraded to ssh3.4, and have changed the startup to use inetd.conf with tcp_wrappers.

My problem now is, I can ssh to the host with the root account, but any other user accounts fail, and the message in syslog is:

fatal: PAM session setup failed[33]: General Commercial Security error

what i can't understand is it works for root but no one else.. has anyone had this problem? I am running 11i "trusted system"
"uh, hey... did we get a good backup last night?"
8 REPLIES
Aaron Sheard
Frequent Advisor

Re: ssh pam and tcp_wrappers

sorry, i posted this to the wrong section..
"uh, hey... did we get a good backup last night?"
Todd Bowden
Valued Contributor

Re: ssh pam and tcp_wrappers

Aaron,

Did you ever get an answer to your question or find out what the problem was? Im now running into this.

Todd.Bowden@atosorigin.com
Sridhar Bhaskarla
Honored Contributor

Re: ssh pam and tcp_wrappers

Todd,

You will need to apply this patch. Copy this to the apache source directory and and run patch -p1 < diff.ossh.

Then compile.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: ssh pam and tcp_wrappers

Sorry. Forgot the attachment. As well replace "apache" with "openssh".

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Todd Bowden
Valued Contributor

Re: ssh pam and tcp_wrappers

Do I include the diff command at the top of the file?
Sridhar Bhaskarla
Honored Contributor

Re: ssh pam and tcp_wrappers

No, the patch command will take care of it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Todd Bowden
Valued Contributor

Re: ssh pam and tcp_wrappers

Thanks, I wish I could assign you points for your answer. I will let you know if this works.

Todd
Walt Murrey
Occasional Visitor

Re: ssh pam and tcp_wrappers

How did you compile this after loading the fix? I have the same problem and am trying to fix it. Thanks for the assistance.