in reply to Best module to execute administrator commands on external operating systems (Linux)

If you have sufficient permissions on the remote system to create accounts, can you create an account that already has proper permissions to do what you need to?

I have in the past had to do similar things, and eventually gave up due to time constraints. I had the systems admin create an account that could do all that I needed to do and authenticated with a private key exclusively. It ended up being a much cleaner solution than trying to pass sudo onto a remote command line or using Expect to try and get stuff done.

  • Comment on Re: Best module to execute administrator commands on external operating systems (Linux)

Replies are listed 'Best First'.
Re^2: Best module to execute administrator commands on external operating systems (Linux)
by thanos1983 (Parson) on Aug 15, 2014 at 14:09 UTC

    Hello jellisii2,

    That is true I was thinking the same solution but my problem is that I want to parse the output of the return and get the offset that I will use it on my calculations. I was even thinking create a local script which will do the process and send me the output, but by doing so in all machines I will not be able to make an automated system.

    I was thinking of putting this script to execute before and after my schedule experimentation so I can add or subtract the time stamps on my results.

    Well I manage to move a bit further with my problem. I will update now my findings so far. I hope that someone will have an answer to my problem.

    Seeking for Perl wisdom...on the process of learning...not there...yet!