request to be able to use su do in the Remote Server

Idea ID 2700748

request to be able to use su do in the Remote Server

request to be able to use su do in the Remote Server as attached screenshot (similar as the su do of ucmdb credentials in ucmdb)

 

2 Comments
Micro Focus Expert
Micro Focus Expert
Status changed to: Already Offered

Thanks for submitting this idea. SiteScope can be reconfigured to use "sudo" already today. The commands used for monitoring remote servers can be found in the …/SiteScope/templates.os directory.

As an example create a copy of the "Ubuntu.config" file and name it "UbuntuSUDO.config". Edit the file and change:

id=UbuntuLinuxSUDO
name=Ubuntu Linux SUDO
description=Ubuntu Linux SUDO

Then search for "command=" lines and modify the commands to use sudo. Here are some examples:

command=sudo /usr/bin/test -r <file>; echo $?

command=sudo /usr/bin/tail -c +<bytes> <file> | /usr/bin/head -c <readBytes>

After changing the file, restart the SiteScope service and reconfigure your remote machine to use the new OS template "Ubuntu Linux SUDO". You can now use a normal user to connect to your remote systems. The sudoers file on the remote servers must be configured to allow executing the required commands without an additional password prompt.

Best Regards

 

 

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi Brenhard,

Can customer monitor the log file only with sudo permission?

If yes what is the file which needs to be edited with sudo?

Regards,

Manjunath

 

 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.