hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Installed PAM, config'd ssh now I cannot login
Reply

Forum Jump

Installed PAM, config'd ssh now I cannot login

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2003, 07:50 PM
Rclark Rclark is offline
WHT Addict
 
Join Date: Jul 2003
Location: Vancouver
Posts: 161

Installed PAM, config'd ssh now I cannot login


I have a client with a rh 9 machine and he wanted PAM auth.. I'm not too familiar with it so I just did what he wanted.. installed the latest source and configured openssh with it. Now I cannot login to the machine at all... how do I get rid of it ?!

__________________
The Trend PimP
http://www.trendpimp.com



Sponsored Links
  #2  
Old 09-10-2003, 12:42 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,009
Did you enable telnet temporarily before recompiling openssh? If not you are pretty much screwed. Contact the datacenter to fix it for you.

__________________
Like us on Facebook to qualify for discounts!
http://www.sprintserve.net
Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
Services: | Managed Multiple Cores 64bit Servers | Server Management |

  #3  
Old 09-10-2003, 11:56 PM
unixtx unixtx is offline
Junior Guru Wannabe
 
Join Date: Aug 2003
Location: San Antonio, TX
Posts: 50
A RedHat 9 kickstart, typically, installs PAM authentication by default, so it should have been on the box already, unless it was specifically unselected at install time. As with all RPM-based distributions, only use bleeding edge source compiles as a last resort, and only for absolute necessity of functionality that is not in the vendor-released build, or cannot be customized with a srpm build.

Custom source compiles reek havoc on an RPM-based distro, when it comes time to perform security updates with RPM packages, unless you have carefully followed all the packages in the dependency trees. Hmm, let me guess, the original PAM RPMs were never removed, either...

__________________
Michael Shuler :: michael@unixtx.com
UNIX Administration Solutions :: http://unixtx.com

Sponsored Links
  #4  
Old 09-11-2003, 12:04 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,009
Yes. Source compiles on Redhat can create all sorts of problems. (unfortunately learning from experience when I first started using Redhat distro)

PAM auth I believe has been in Redhat even since 7.x series or even earlier.

__________________
Like us on Facebook to qualify for discounts!
http://www.sprintserve.net
Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
Services: | Managed Multiple Cores 64bit Servers | Server Management |

  #5  
Old 09-11-2003, 08:33 AM
genlee genlee is offline
Aspiring Evangelist
 
Join Date: Apr 2003
Location: Lebanon, PA
Posts: 420
If you screwed up pam, you probably need to have the server booted into single user mode and have the an admin reinstall the pam rpms.

  #6  
Old 09-11-2003, 06:36 PM
Goni Goni is offline
Web Hosting Guru
 
Join Date: Nov 2001
Posts: 282
When you install OpenSSH from scratch, you have to compile is with '--with-pam' option. After install you *must* copy the pam file for sshd from the contrib directly to /etc/pam.d/. In this case, it will be copy openssh-3.6.1p2/contrib/redhat/sshd.pam to /etc/pam.d/sshd

If all goes well, start the sshd and you will be able to login.

btw: You might have to check with your NOC for this as you don't seem to have any shell access to the box.


Naseer

__________________
We eDrive your Business!
Web Hosting Solutions http://www.digitallinx.com
Toll-Free in US and Canada: 1 (866)339-0849
International Callers: 1 (214)329-4291 or 1 (786)380-4896

Reply

Related posts from TheWhir.com
Title Type Date Posted
MongoHQ Launches New Security Features, Open Sources Startup Security Handbook Web Hosting News 2014-01-30 12:22:00
Russian Search Engine Yandex Launches Cloud PaaS Tool Called Cocaine Web Hosting News 2013-10-17 16:05:05
WHMCS Releases Patch to Address Critical Security Issue Web Hosting News 2013-10-04 16:12:43
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
cPanel Conference 2012: What's New with cPanel and WHM with Ken Power Web Hosting News 2012-11-12 13:54:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?