How to use sesudo instead of sudo for linux/unix privileged command

nikhil_agr20
Tera Contributor

Hi, 

my client is using sesudo as privileged command instead of sudo. How can I use sesudo as privileged command within Servicenow?

2 REPLIES 2

Jeff Currier
ServiceNow Employee
ServiceNow Employee

As of London, Discovery supports sudopbrun and pfexec commands. If your system cannot use sudo commands, you must configure the hosts in your network to use one of the other privileged commands.

https://docs.servicenow.com/bundle/geneva-it-operations-management/page/product/discovery/reference/r_PrivilegedCommandsForDiscovery.html#r_PrivilegedCommandsForDiscovery

 

tim_broberg
ServiceNow Employee
ServiceNow Employee

https://docs.servicenow.com/bundle/london-servicenow-platform/page/product/mid-server/concept/c_PrivilegedCommandsForMIDServer.html

Note the section "Add a new privileged command for use by the MID Server" which should allow specifying other commands.

I don't know the details of sesudo or whether anybody has tried it, but it's certainly worth a shot.

Best of luck,
    - Tim.