summaryrefslogtreecommitdiffstats
path: root/docs/manpage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpage.rst')
-rw-r--r--docs/manpage.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/manpage.rst b/docs/manpage.rst
index 5d09c25..34516ed 100644
--- a/docs/manpage.rst
+++ b/docs/manpage.rst
@@ -234,6 +234,29 @@ Options
makes it a lot easier to debug and test the :option:`--auto-hosts`
feature.
+.. option:: --sudoers
+
+ sshuttle will auto generate the proper sudoers.d config file and add it.
+ Once this is completed, sshuttle will exit and tell the user if
+ it succeed or not. Do not call this options with sudo, it may generate a
+ incorrect config file.
+
+.. option:: --sudoers-no-modify
+
+ sshuttle will auto generate the proper sudoers.d config and print it to
+ stdout. The option will not modify the system at all.
+
+.. option:: --sudoers-user
+
+ Set the user name or group with %group_name for passwordless operation.
+ Default is the current user.set ALL for all users. Only works with
+ --sudoers or --sudoers-no-modify option.
+
+--option:: --sudoers-filename
+
+ Set the file name for the sudoers.d file to be added. Default is
+ "sshuttle_auto". Only works with --sudoers.
+
.. option:: --version
Print program version.