sudo support [DONE]

Posts: 2
Joined: 13 Oct 2012, 16:22

sudo support [DONE]

Postby MaciejSawicki » 13 Oct 2012, 16:28

In connection configuration should be an option to ask retrospective to execute "sudo -i" after connection.

It should work with sudo password enabled (default) and disabled ("%sudo ALL=(ALL:ALL) NOPASSWD:ALL" in /etc/sudoers).
centeractive people
Posts: 19
Joined: 16 Aug 2012, 15:26

Re: sudo support

Postby tom.bujok » 18 Oct 2012, 10:29

Hi Maciej,

Thanks for your taking some time and evaluating our product. We have analyzed your feature request, but somehow we cannot justify the need of "sudo" for accessing the log files. What is your business case for superuser access? Generally it is not recommended to give the superuser permissions to any 3rd party tools. We are planning to add the "su" command after the connection initialization, so that you connect with one user and access the files with the second one. Would it cover your usage case?

centeractive people
Posts: 16
Joined: 18 Jun 2012, 09:58

Re: sudo support

Postby markus » 16 Aug 2013, 09:49

I started to work in a project for a customer, where it is impossible to access any log files on the servers without executing sudo and then su to another user......
for me it would be highly desirable to have support for this in Retrospective.
Site Admin
Posts: 35
Joined: 17 Apr 2012, 21:29

Re: sudo support

Postby centeractive » 02 Mar 2015, 10:59

The new Retrospective version 3.4.0 now provides sudo/su support ("Identity Change"). Supported are the following scenarios:
- sudo: Retrospective uses sudo to execute shell scripts as the target user
- sudo su: Retrospective uses sudo to become super user and then uses su to execute all shell scripts as the target user.

Both these scenarios additionally
- support an "initial login" option to replace the shell environment with the target user's environment.
- provide the option to use a password OR no password, to match your configuration in /etc/sudoers.

An "Identity Change" can be configured on the host manager. The user manual provides more details.

Also check out this new tutorial to learn how Retrospective supports sudo:

Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest