- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2022 01:40 PM
Team,
We are running discovery on some Red HAT Linux Servers and wanted to know what kind of privileges can be provided to the service account so that discovery brings all the right information including Service mapping details. (relationships etc.)
1) Will Non elevated privilege be enough which will run only below commands?
2) Or it will require sudo access?
3) or it will require root access?
Please help me out.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 12:53 AM
Hi,
it is mostly work from your server team. something like:
How To Set up SSH Keys on a Linux / Unix System - nixCraft (cyberciti.biz)
Then they have configured the key and the sudo and so they are able on their side to connect without password, you can make the work at servicenow level
SSH credentials (servicenow.com) , SSH private key credential type section
Regards,
Guillaume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 08:53 AM
Hi, Discovery is using sudo, check ServiceNow documentation for needed rights:
SSH credentials (servicenow.com)
What we did:
- create user using key and passphrase for connection (not by password to be more secure)
- give rights through /etc/sudoers (check attachment for example)
- create credentials in ServiceNow (SSH private key credential type, note it has to be RSA)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 11:36 AM
Thanks Guillaumeh,
Can you please show me some steps/snap shots of how to create SSH private key credentials type?
Basically I want to understand, what do we need from the Server Team and what do we need from ServiceNow (our side)
Please give me some steps/snaps.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 12:53 AM
Hi,
it is mostly work from your server team. something like:
How To Set up SSH Keys on a Linux / Unix System - nixCraft (cyberciti.biz)
Then they have configured the key and the sudo and so they are able on their side to connect without password, you can make the work at servicenow level
SSH credentials (servicenow.com) , SSH private key credential type section
Regards,
Guillaume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2022 05:45 PM
Thanks Guillaumeh.
