PSMP on SLES with Windows Auth unable to sudo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PSMP on SLES with Windows Auth unable to sudo

L1 Bithead

There are a couple articles on this, but they don't work for us....

 

PSMP 14.0 integrated installation and Windows authentication enabled on a SLES 15.4 box, but users who log in via that Windows authentication to SSH are unable to sudo to root -- user is not in sudoers file.

 

It appears that when we re-enable nscd.service (disabled per installation docs), the issue goes away.

 

We have also modified nsswitch.conf initgroups per https://community.cyberark.com/s/article/Unable-to-sudo-on-PSMP-as-maintenance-us, but this doesn't solve the problem directly.

 

Looking for other options before we decide to disconnect the PSMP from Windows authentication.

 

Thanks.

 

 

 

 

2 REPLIES 2

L7 Applicator

Hi @Ray Sundland​ 

 

Is this issue still appearing?

 

You can try the following. Hope it helps !

 

  1. Make sure that the Windows-authenticated users are included in the sudoers file (/etc/sudoers) and have the appropriate permissions.
  2. Apart from modifying the nsswitch.conf for initgroups, review the entire NSSwitch configuration to ensure that it's correctly set up to resolve user and group information from appropriate sources, including local files, LDAP, and other directories
  3. Check the Pluggable Authentication Modules (PAM) configuration files (/etc/pam.d/sudo, /etc/pam.d/common-auth etc.) to ensure that they are correctly configured to handle authentication requests from Windows-authenticated users.

The URL is no longer working, but we were able to get it working after we changed the initgroups line to specify winbind instead of sss since we were using winbind for authentication.

  • 196 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!