withfig/fig

bug: autoinstaller does not give necessary information

Opened this issue · 1 comments

Checks

  • I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • I have run fig doctor in the affected terminal session
  • I have run fig restart and replicated the issue again

Operating system

Red Hat in my case, but presumably all

Expected behaviour

I would expect that before the autoinstaller runs, it would give us sufficient information about what it will do.

The idea that we should be expected to allow remote scripts to be run as root on servers we log into is incomprehensible.

First, tell us that it will run as root:

  • this at least gives a ballpark idea of the level of risk
  • it also in some cases lets us know that it's going to fail (and perhaps get us in trouble, depending on how much attention sysadmins pay to the logged info of attempts at using sudo)

Second, tell us exactly what it will install.

Actual behaviour

None of this information is given.

  1. it doesn't tell us that one needs to be able to run arbitrary scripts as root
  2. it doesn't tell us what it will install.

Steps to reproduce

Ensure that one's SSH config file includes the fig config to install on remote machines.

Environment

No response

Thank for this feedback! We are rethinking how autocomplete over SSH should work and will incorporate this feedback going forward.