3

So I'm an Linux fan and word is spreading. People bring their laptops to me to have a new installation. Now I want to help people easier without requiring them to bring me their laptop. I'm looking for an application that would allow me to:

  • Download a puppet script from my server or easily feed a script send via email into it,
  • Authenticate the script and make sure it originates from myself (GnuPG comes to mind here),
  • Run the script as root via puppet, so it can make the necessary system changes,
  • Send the output as an email to me.

Is there something out there that would allow me to do this with the correct controls in place? Doesn't necessarily have to be puppet, bash or ansible or whatever would be nice as well. Ssh is not an option, most home connections that people use are behind a NAT router. I do not want a direct access connection, just the ability to tell someone "here, run this script the way I showed you" without them having to open a terminal.

I'm thinking about writing something to do this, but there might be something out there that I'm simply not aware of?

Tim Stoop
  • 93
  • 4

2 Answers2

0

Why reinvent the wheel? If these are "Just Work" type folks, they aren't going to want to deal with downloading a script, making it executable, sudo'ing, etc., that goes along with installing Linux programs.

I'd give them a basic rundown on using the built in Software Manager/Software Center. Once they know how it works, they can install 99% of what they want without your intervention. This also mitigates the issues of authenticating a script and letting a script run wild with root privileges.

I'll also strongly recommend TeamViewer. It makes it easy for them to reach out for help without having to mess with configuration. I use it on several computers, all behind NAT routers.

kazoni
  • 713
0

If you'll bite the bullet to maintain your own update repositories, you can modify the config file of "people"'s update manager to point at your repository, and any patch you built will be pulled by the system on designated time.