- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pam kerberos and ssh PubkeyAuthentication
Operating System - HP-UX
1819736
Members
2809
Online
109606
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 06:57 AM
тАО11-14-2006 06:57 AM
pam kerberos and ssh PubkeyAuthentication
I'm setting up a trusted system's pam.conf to use kerberos and the sshd_config for PAM. Problem I'm having is with ssh public-key auth. When the unix account is locked I can still get in using my public-key.
My sshd_config contains:
PasswordAuthentication no
PubkeyAuthentication yes
KerberosAuthentication no
My pam.conf is setup like so...
----
other auth required libpam_updbe.1 debug
other auth sufficient libpam_krb5.1 debug krb_prompt
other auth sufficient libpam_unix.1 debug try_first_pass
other account required libpam_updbe.1 debug
other account sufficient libpam_krb5.1 debug
other account required libpam_unix.1 debug
other session required libpam_updbe.1 debug
other session required libpam_krb5.1 debug
other session required libpam_unix.1 debug
other password required libpam_updbe.1 debug
other password sufficient libpam_krb5.1 debug krb_prompt ignore
other password required libpam_unix.1 debug try_first_pass
----
Any thoughts on what I'm missing? I saw a similar known problem that suggested using PAM_AUTHZ, but it was for PAM_LDAP...
Thanks!
-denver
My sshd_config contains:
PasswordAuthentication no
PubkeyAuthentication yes
KerberosAuthentication no
My pam.conf is setup like so...
----
other auth required libpam_updbe.1 debug
other auth sufficient libpam_krb5.1 debug krb_prompt
other auth sufficient libpam_unix.1 debug try_first_pass
other account required libpam_updbe.1 debug
other account sufficient libpam_krb5.1 debug
other account required libpam_unix.1 debug
other session required libpam_updbe.1 debug
other session required libpam_krb5.1 debug
other session required libpam_unix.1 debug
other password required libpam_updbe.1 debug
other password sufficient libpam_krb5.1 debug krb_prompt ignore
other password required libpam_unix.1 debug try_first_pass
----
Any thoughts on what I'm missing? I saw a similar known problem that suggested using PAM_AUTHZ, but it was for PAM_LDAP...
Thanks!
-denver
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 07:05 AM
тАО11-14-2006 07:05 AM
Re: pam kerberos and ssh PubkeyAuthentication
It's a known thing that ssh key authentication will let you login into a locked account.
I don't know if there is a way to disable that "feature"
Chris
I don't know if there is a way to disable that "feature"
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2006 01:32 PM
тАО11-14-2006 01:32 PM
Re: pam kerberos and ssh PubkeyAuthentication
Denver,
I've never done this but I think you have to tell sshd that you want to use PAM rather then the plain passwd file.
ssh_config(5)
UsePAM 1
-ETL
I've never done this but I think you have to tell sshd that you want to use PAM rather then the plain passwd file.
ssh_config(5)
UsePAM 1
-ETL
Evert
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP