Changing the sudo reconcile command on Solaris

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

Changing the sudo reconcile command on Solaris

L1 Bithead

Hi,

 

We have a requirement to modify the sudo passwd reconcile command on Solaris hosts so that it uses the "-r files" argument. I modified unixprocess file with the following:

 

RecSudo=$sudo passwd -r files <username>

 

When I attempt to reconcile after this change, it fails to find sudo. The console log shows the following:

 

send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 } 

find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name  

pbrun | cat

find: stat() error /usr/local/bin: 

 

When RecSudo is set to the default of "$sudo passwd <username> " with sudo being found and reconcile working , the console log shows this:

 

send: sending "find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name pbrun | cat\r" to { exp4 } 

find /bin /usr/bin /usr/local/bin -name sudo -o -name pimsu -o -name  

pbrun | cat

find: stat() error /usr/local/bin: No such file or directory

/usr/bin/sudo

 

I can't understand why it is showing the same find command return different results. Is there something else that is affected and that must be taken into account when modifying recsudo in the  UnixProcess file?

 

Thank you

 

Fred

 

1 REPLY 1

L7 Applicator

I don't think the messages you posted are the root cause. They just indicate that the CPM plugin is designed to look for the sudo executable in multiple directories and doesnt find it in some of the directories. What happens in the logs *after* the errors you posted?

  • 409 Views
  • 1 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!