Skip to content
The Tor Project
Explain how to send the signed challenge to change the sudo password
May 18, 2021
Hide whitespace changes
View page @
@@ -261,8 +261,15 @@ Alternatively, or additionally, you can have per-host sudo passwords
-- just select the appropriate host in the pull-down box.
Once set on the web interface, you will have to confirm the new
settings by sending a signed challenge to the mail interface. Please
ensure you don't introduce any additional line breaks.
settings by sending a signed challenge to the mail interface. The
challenge is a single line, without line breaks, provided by the web
interface. With the challenge first you will need to produce an
echo 'confirm sudopassword ...' | gpg --armor --sign
With it you can compose an email to email@example.com, sending
the challenge in the body followed by the openpgp signature.
Note that setting a sudo password will only enable you to use sudo to
configured accounts on configured hosts. Consult the output of "sudo