Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Setup: sudo fails during sosetup if NOPASSWD:ALL not enabled #1490
Under certain circumstances, when sosetup runs the 3 ssh sudo commands to get details for the autossh forward IP config on non master nodes, sudo will fail if a password is required because it doesn't have a tty. This works for the other commands run on the master since it pops open an xfce terminal and allows sudo to ask for the password. I got around this by making the sudo user run commands without the password. If the ssh/sudo user on the master is required to have NOPASSWD:ALL in sudoers, the sosetup dialog and documentation should be explicit. Or sosetup should ensure sudo can grab a password.
added a commit
Mar 21, 2019
Submitted for testing: