update ikiwiki-update-wikilist docs to suggest putting it in /etc/sudoers

master
Joey Hess 2012-08-09 11:48:30 -04:00
parent 104539c536
commit 94f826498c
3 changed files with 7 additions and 4 deletions

View File

@ -8,8 +8,11 @@ ikiwiki-update-wikilist [-r]
# DESCRIPTION # DESCRIPTION
`ikiwiki-update-wikilist` is designed to be made suid root, but is not installed `ikiwiki-update-wikilist` is designed to be safely run as root by arbitrary
suid by default. If made suid, it allows users to add or remove their names users, either by being made suid and using the (now deprecated suidperl), or
by being configured in `/etc/sudoers` to allow arbitrary users to run.
All it does is allows users to add or remove their names
from the `/etc/ikiwiki/wikilist` file. from the `/etc/ikiwiki/wikilist` file.
By default, the user's name will be added. By default, the user's name will be added.

View File

@ -110,7 +110,7 @@ runs ikiwiki to update a given wiki. The wrapper can in turn be made suid,
for example to be used in a [[post-commit]] hook by people who cannot write for example to be used in a [[post-commit]] hook by people who cannot write
to the html pages, etc. to the html pages, etc.
If the wrapper script is made suid, then any bugs in this wrapper would be If the wrapper program is made suid, then any bugs in this wrapper would be
security holes. The wrapper is written as securely as I know how, is based security holes. The wrapper is written as securely as I know how, is based
on code that has a history of security use long before ikiwiki, and there's on code that has a history of security use long before ikiwiki, and there's
been no problem yet. been no problem yet.

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl -t #!/usr/bin/perl -t
# Add a user to the system wide wikilist. # Add a user to the system wide wikilist.
# This script can safely be made suid. # This script can safely be made suid or put in /etc/sudoers.
use warnings; use warnings;
use strict; use strict;
use English; use English;