sshuttle/docs
Scott Kuhl 5719d424de Remove --sudoers, improve --sudoers-no-modify
Allowing sshuttle to add/overwrite sudoers configuration file at
locations of the users' choosing adds complexity to the code compared
to asking users to install the sudo configuration themselves. It
requires sshuttle to make decisions about how much effort we put into
ensuring that the file is written to a proper location. The current
method relies on the 'realpath' program which is not installed on
MacOS by default.

There are serious problems when the sudo configuration is used to
allow a user to *only* run sshuttle as root (with or without a
password). First, that user could then use the --sudoers option to
give other users sudo privileges. Second, the user can run any command
as root because sshuttle accepts a --ssh-cmd parameter which allows a
user to specify a program that sshuttle should run. There may also be
additional issues that we have not identified.

By removing the --sudoers option (and the associated sudoers-add
script), this reduces the problems above. This code keeps the
--sudoers-no-modify feature which prints a configuration to stdout for
the user to install. It includes a clear warning about how --ssh-cmd
could potentially be abused to run other programs.

A warning about some of these issues has been in sshuttle since
version 1.1.0. This commit also adds that warning to more locations in
the documentation.
2022-03-13 09:29:56 +11:00
..
changes.rst Get version for sphinx from sshuttle.version 2017-07-09 09:08:48 +10:00
chromeos.rst Trim excess whitespace 2021-09-22 12:36:36 +00:00
conf.py Get version for sphinx from sshuttle.version 2017-07-09 09:08:48 +10:00
how-it-works.rst Trim excess whitespace 2021-09-22 12:36:36 +00:00
index.rst Trim excess whitespace 2021-09-22 12:36:36 +00:00
installation.rst Remove --sudoers, improve --sudoers-no-modify 2022-03-13 09:29:56 +11:00
make.bat Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
Makefile Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
manpage.rst Remove --sudoers, improve --sudoers-no-modify 2022-03-13 09:29:56 +11:00
openwrt.rst Add missing package in OpenWRT documentation 2020-08-10 16:35:05 +02:00
overview.rst Adds support for tunneling specific port ranges (#144) 2017-05-07 13:18:13 +10:00
platform.rst Fix various errors in documentation 2020-02-09 19:45:13 +11:00
requirements.rst Fix typo in tproxy documentation. 2021-12-31 14:54:17 -05:00
support.rst Use Sphinx for documentation 2016-01-17 16:19:13 +11:00
tproxy.rst Minor improvement to tproxy documentation. 2021-12-31 14:31:54 -05:00
trivia.rst Trim excess whitespace 2021-09-22 12:36:36 +00:00
usage.rst Remove --sudoers, improve --sudoers-no-modify 2022-03-13 09:29:56 +11:00
windows.rst Trim excess whitespace 2021-09-22 12:36:36 +00:00