ssh authentication on CES nodes
Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, since we can't login with our personal/central accounts and then sudo. Neither we can use winbind, since samba-winbind-modules package (that provides the necessary PAM module) conflicts with the gpfs.smb package. We will probably end up creating one or more local accounts and using ssh keys for access. But I wonder if someone with a similar problem found a better workaround. Thanks, Ivano [1] https://www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitat... __________________________________________ Paul Scherrer Institut Ivano Talamo OBBA/230 Forschungsstrasse 111 5232 Villigen PSI Schweiz Phone: +41 56 310 47 11 E-Mail: ivano.talamo@psi.ch Available: Monday - Wednesday
Ivano, I am running SSSD on the CES nodes (we need it for file authorization for NFS and SMB, but rely on AD for authentication). IBM set this up for us, had no issues doing it, and there were no library conflicts. -- Mike Jarsulic Associate Director, Scientific Computing Center for Research Informatics | Biological Sciences Division University of Chicago 5454 South Shore Drive, Chicago, IL 60615 | (773) 702-2066 From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Talamo Ivano Giuseppe <ivano.talamo@psi.ch> Date: Monday, July 22, 2024 at 8:55 AM To: gpfsug-discuss@spectrumscale.org <gpfsug-discuss@spectrumscale.org> Subject: [EXTERNAL] [gpfsug-discuss] ssh authentication on CES nodes Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, ZjQcmQRYFpfptBannerStart External: Use caution with links, attachments, and providing information. <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/MyIu0v6UfBA57LoN!4d_ODmlK7vd...> Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/MyIu0v6UfBA57LoN!4d_ODmlK7vd...> ZjQcmQRYFpfptBannerEnd Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, since we can't login with our personal/central accounts and then sudo. Neither we can use winbind, since samba-winbind-modules package (that provides the necessary PAM module) conflicts with the gpfs.smb package. We will probably end up creating one or more local accounts and using ssh keys for access. But I wonder if someone with a similar problem found a better workaround. Thanks, Ivano [1] https://www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations__;!!MyIu0v6UfBA57LoN!81qFjI1_Bd1tQ1ey7YDQHcce_OlEdsQ90dPVDgCbIFzKNw9JJPDKJ4BtVVdy1qE2Xiq3aE1-6-yht4mLhMrH-RUVMbma6g$> __________________________________________ Paul Scherrer Institut Ivano Talamo OBBA/230 Forschungsstrasse 111 5232 Villigen PSI Schweiz Phone: +41 56 310 47 11 E-Mail: ivano.talamo@psi.ch Available: Monday - Wednesday ________________________________ “This message was received from outside of the organization. Please pay special attention and practice care when clicking on any links, or providing any information to the sender. Cyber attacks commonly attempt to trick you in to thinking the sender is a reputable individual who you can trust.”
As far as I know, you cannot run SSSD and GPFS-Winbind on the same CES server there will be conflicts. Since GPFS uses Winbind, the SSSD has to be disabled and point everything to use GPFS-Winbind (PAM files included). This is what we do on our CES nodes and they work just fine, users can authenticate using AD credentials, etc. The GPFS-Winbind works just like SSSD if configured correctly. The only issue is once GPFS is shutdown then GPFS-Winbind no longer works but can still passwordless ssh from another cluster server if access is needed, but GPFS is always up so this is not really a deal breaker. Best Regards, Larry Henson IT Engineering Storage Team Cell (713) 702-4896 [cid:image001.png@01DADC1B.A6836E70] From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jarsulic, Michael [BSD] Sent: Monday, July 22, 2024 9:17 AM To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org>; gpfsug-discuss@spectrumscale.org Subject: [EXTERNAL] Re: [gpfsug-discuss] ssh authentication on CES nodes SLOW DOWN! - EXTERNAL SENDER: gpfsug-discuss-bounces@gpfsug.org<mailto:gpfsug-discuss-bounces@gpfsug.org> Be suspicious of tone, urgency, and formatting. Do not click/open links or attachments on a mobile device. Wait until you are at a computer to confirm you are absolutely certain it is a trusted source. If you are at all uncertain use the Report Phish button and our Cybersecurity team will investigate. Ivano, I am running SSSD on the CES nodes (we need it for file authorization for NFS and SMB, but rely on AD for authentication). IBM set this up for us, had no issues doing it, and there were no library conflicts. -- Mike Jarsulic Associate Director, Scientific Computing Center for Research Informatics | Biological Sciences Division University of Chicago 5454 South Shore Drive, Chicago, IL 60615 | (773) 702-2066 From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org<mailto:gpfsug-discuss-bounces@gpfsug.org>> on behalf of Talamo Ivano Giuseppe <ivano.talamo@psi.ch<mailto:ivano.talamo@psi.ch>> Date: Monday, July 22, 2024 at 8:55 AM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [EXTERNAL] [gpfsug-discuss] ssh authentication on CES nodes Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, ZjQcmQRYFpfptBannerStart External: Use caution with links, attachments, and providing information. Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/MyIu0v6UfBA57LoN!4d_ODmlK7vd...> ZjQcmQRYFpfptBannerEnd Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, since we can't login with our personal/central accounts and then sudo. Neither we can use winbind, since samba-winbind-modules package (that provides the necessary PAM module) conflicts with the gpfs.smb package. We will probably end up creating one or more local accounts and using ssh keys for access. But I wonder if someone with a similar problem found a better workaround. Thanks, Ivano [1] https://www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations__;!!MyIu0v6UfBA57LoN!81qFjI1_Bd1tQ1ey7YDQHcce_OlEdsQ90dPVDgCbIFzKNw9JJPDKJ4BtVVdy1qE2Xiq3aE1-6-yht4mLhMrH-RUVMbma6g$> __________________________________________ Paul Scherrer Institut Ivano Talamo OBBA/230 Forschungsstrasse 111 5232 Villigen PSI Schweiz Phone: +41 56 310 47 11 E-Mail: ivano.talamo@psi.ch<mailto:ivano.talamo@psi.ch> Available: Monday - Wednesday ________________________________ “This message was received from outside of the organization. Please pay special attention and practice care when clicking on any links, or providing any information to the sender. Cyber attacks commonly attempt to trick you in to thinking the sender is a reputable individual who you can trust.” The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.
Hi Ivano, I am curious about this line of your message: “For us that's quite annoying, since we can't login with our personal/central accounts and then sudo.” We only allow administrator access to the GPFS cluster via the EMS nodes. We will be restricting them to MFA based access. We then navigate to all other nodes from one of them. End users can access an area shared to the HPC cluster via ssh, and we have an internal FTP server mounting various areas via NFS, but no direct ssh access to the whole GPFS cluster. Kindest regards, Paul Paul Ward TS Infrastructure Architect Natural History Museum T: 02079426450 E: p.ward@nhm.ac.uk<mailto:p.ward@nhm.ac.uk> [cid:image001.png@01DADCF1.0446AA60] From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jarsulic, Michael [BSD] Sent: Monday, July 22, 2024 3:17 PM To: gpfsug main discussion list <gpfsug-discuss@gpfsug.org>; gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] ssh authentication on CES nodes Ivano, I am running SSSD on the CES nodes (we need it for file authorization for NFS and SMB, but rely on AD for authentication). IBM set this up for us, had no issues doing it, and there were no library conflicts. -- Mike Jarsulic Associate Director, Scientific Computing Center for Research Informatics | Biological Sciences Division University of Chicago 5454 South Shore Drive, Chicago, IL 60615 | (773) 702-2066 From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org<mailto:gpfsug-discuss-bounces@gpfsug.org>> on behalf of Talamo Ivano Giuseppe <ivano.talamo@psi.ch<mailto:ivano.talamo@psi.ch>> Date: Monday, July 22, 2024 at 8:55 AM To: gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org> <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [EXTERNAL] [gpfsug-discuss] ssh authentication on CES nodes Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, ZjQcmQRYFpfptBannerStart External: Use caution with links, attachments, and providing information. Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/MyIu0v6UfBA57LoN!4d_ODmlK7vd...> ZjQcmQRYFpfptBannerEnd Dear all, I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, since we can't login with our personal/central accounts and then sudo. Neither we can use winbind, since samba-winbind-modules package (that provides the necessary PAM module) conflicts with the gpfs.smb package. We will probably end up creating one or more local accounts and using ssh keys for access. But I wonder if someone with a similar problem found a better workaround. Thanks, Ivano [1] https://www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations<https://urldefense.com/v3/__https:/www.ibm.com/docs/en/storage-scale/5.2.0?topic=authentication-limitations__;!!MyIu0v6UfBA57LoN!81qFjI1_Bd1tQ1ey7YDQHcce_OlEdsQ90dPVDgCbIFzKNw9JJPDKJ4BtVVdy1qE2Xiq3aE1-6-yht4mLhMrH-RUVMbma6g$> __________________________________________ Paul Scherrer Institut Ivano Talamo OBBA/230 Forschungsstrasse 111 5232 Villigen PSI Schweiz Phone: +41 56 310 47 11 E-Mail: ivano.talamo@psi.ch<mailto:ivano.talamo@psi.ch> Available: Monday - Wednesday ________________________________ “This message was received from outside of the organization. Please pay special attention and practice care when clicking on any links, or providing any information to the sender. Cyber attacks commonly attempt to trick you in to thinking the sender is a reputable individual who you can trust.”
On Tue, 2024-07-23 at 10:11 +0000, Paul Ward wrote:
Hi Ivano,
I am curious about this line of your message: “For us that's quite annoying, since we can't login with our personal/central accounts and then sudo.”
We only allow administrator access to the GPFS cluster via the EMS nodes. We will be restricting them to MFA based access. We then navigate to all other nodes from one of them.
My guess would be that administrators log onto the cluster using their personal/central accounts and then use sudo to issue administrative commands. This creates a log of who issued what commands at what time. Useful when you have more than one administrator and provides a level of tracking. Though personally I think using your "personal" everyday account for this is suboptimal. Best practice would suggest have a separate personal administrator account. So for example in a previous life my normal everyday account was njab14 no different than anyone else's account, but my I had a separate account administrator account was sjab14. That could do things like sudo had rights in the AD etc. etc. You can also do things like create groups of users that can log onto things that normal users cant. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Yes we follow that principle too. With access to GPFS administration, soon to be restricted to allow access only from specific 'bastions' with mfa implemented on them, to specific management nodes only, not protocol nodes. Kindest regards, Paul Paul Ward TS Infrastructure Architect Natural History Museum T: 02079426450 E: p.ward@nhm.ac.uk -----Original Message----- From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> On Behalf Of Jonathan Buzzard Sent: Tuesday, July 23, 2024 12:30 PM To: gpfsug-discuss@gpfsug.org; gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] ssh authentication on CES nodes On Tue, 2024-07-23 at 10:11 +0000, Paul Ward wrote:
Hi Ivano,
I am curious about this line of your message: "For us that's quite annoying, since we can't login with our personal/central accounts and then sudo."
We only allow administrator access to the GPFS cluster via the EMS nodes. We will be restricting them to MFA based access. We then navigate to all other nodes from one of them.
My guess would be that administrators log onto the cluster using their personal/central accounts and then use sudo to issue administrative commands. This creates a log of who issued what commands at what time. Useful when you have more than one administrator and provides a level of tracking. Though personally I think using your "personal" everyday account for this is suboptimal. Best practice would suggest have a separate personal administrator account. So for example in a previous life my normal everyday account was njab14 no different than anyone else's account, but my I had a separate account administrator account was sjab14. That could do things like sudo had rights in the AD etc. etc. You can also do things like create groups of users that can log onto things that normal users cant. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
Hi all, While not strictly by-the-book, we have ran SSSD alongside gpfs-winbind for ~7 years now. Might be a case of running the protocol nodes on RHEL exclusively, but we have never had any issues. Might help that our LDAP and AD are kept in sync as best as possible so any conflicts will still resolve to the same values. Even further, thanks to some old legacy documentation I recently moved from regular gpfs-winbind (that was basically connected using net ads join) to actual mmuserauth and AD. In my mind, having even SSSD installed would already cause the library conflicts. Obviously, there are more than 2 ways to skin this particular cat and for a really dirty fix you could map the admin users locally with the same UIDS etc.. Best, Ott Oopkaup University of Tartu, High Performance Computing Centre Systems Administrator On 7/23/24 2:29 PM, Jonathan Buzzard wrote:
On Tue, 2024-07-23 at 10:11 +0000, Paul Ward wrote:
Hi Ivano,
I am curious about this line of your message: “For us that's quite annoying, since we can't login with our personal/central accounts and then sudo.”
We only allow administrator access to the GPFS cluster via the EMS nodes. We will be restricting them to MFA based access. We then navigate to all other nodes from one of them.
My guess would be that administrators log onto the cluster using their personal/central accounts and then use sudo to issue administrative commands. This creates a log of who issued what commands at what time. Useful when you have more than one administrator and provides a level of tracking.
Though personally I think using your "personal" everyday account for this is suboptimal. Best practice would suggest have a separate personal administrator account. So for example in a previous life my normal everyday account was njab14 no different than anyone else's account, but my I had a separate account administrator account was sjab14. That could do things like sudo had rights in the AD etc. etc.
You can also do things like create groups of users that can log onto things that normal users cant.
JAB.
Hi Jonathan, Yes, we have dedicated personal admins accounts. But they're also centrally configured on AD. The problem stays the same. We don't have an EMS for those nodes. Our CES nodes are in a storage-less cluster (the storage is accessed via remote-cluster mount) and we install them via our puppet-based infrastructure. Thanks for the suggestion of using pam_krb5. I'm not a big fan since RHEL discontinued it in favour of SSSD, but I'll check it out. Regards, Ivano __________________________________________ Paul Scherrer Institut Ivano Talamo OBBA/230 Forschungsstrasse 111 5232 Villigen PSI Schweiz Phone: +41 56 310 47 11 E-Mail: ivano.talamo@psi.ch Available: Monday - Wednesday ________________________________ From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Sent: 23 July 2024 13:29 To: gpfsug-discuss@gpfsug.org <gpfsug-discuss@gpfsug.org>; gpfsug-discuss@spectrumscale.org <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] ssh authentication on CES nodes On Tue, 2024-07-23 at 10:11 +0000, Paul Ward wrote:
Hi Ivano,
I am curious about this line of your message: “For us that's quite annoying, since we can't login with our personal/central accounts and then sudo.”
We only allow administrator access to the GPFS cluster via the EMS nodes. We will be restricting them to MFA based access. We then navigate to all other nodes from one of them.
My guess would be that administrators log onto the cluster using their personal/central accounts and then use sudo to issue administrative commands. This creates a log of who issued what commands at what time. Useful when you have more than one administrator and provides a level of tracking. Though personally I think using your "personal" everyday account for this is suboptimal. Best practice would suggest have a separate personal administrator account. So for example in a previous life my normal everyday account was njab14 no different than anyone else's account, but my I had a separate account administrator account was sjab14. That could do things like sudo had rights in the AD etc. etc. You can also do things like create groups of users that can log onto things that normal users cant. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
On 22/07/2024 14:53, Talamo Ivano Giuseppe wrote:
Dear all,
I have a question regarding the CES service, aka protocol nodes. Our CES cluster is configured with the AD authentication and, accordingly to the documentation [1], SSSD should not be running on the CES nodes. For us that's quite annoying, since we can't login with our personal/central accounts and then sudo. Neither we can use winbind, since samba-winbind-modules package (that provides the necessary PAM module) conflicts with the gpfs.smb package. We will probably end up creating one or more local accounts and using ssh keys for access. But I wonder if someone with a similar problem found a better workaround.
Install on Ubuntu and use local accounts with libpam-krb5? Use local accounts and pam_krb5 from EPEL on RHEL8/9? From what I can make out with experimentation you don't actually have to use SSSD on RHEL8+. Wish I had known that three years ago because frankly SSSD as shipped with RHEL8 is not ready to take over from pam_krb5 JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
participants (6)
-
Henson Jr.,Larry J -
Jarsulic, Michael [BSD] -
Jonathan Buzzard -
Ott Oopkaup -
Paul Ward -
Talamo Ivano Giuseppe
