Linux discovery question

Sunny45
Kilo Guru

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?

find_real_file.png

2) Or it will require sudo access? 

3) or it will require root access?

Please help me out.

Thanks.

 

1 ACCEPTED SOLUTION

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

View solution in original post

5 REPLIES 5

guillaumeh
Mega Guru

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)

 

 

 

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. 

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

Thanks Guillaumeh.