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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:28 AM
Hi,
my client is using sesudo as privileged command instead of sudo. How can I use sesudo as privileged command within Servicenow?
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:45 AM
As of London, Discovery supports sudo, pbrun 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 12:33 AM
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.