summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-10-05 07:38:21 -0700
committerDaniel Burrows <dburrows@debian.org>2009-10-05 07:38:21 -0700
commit2613ca620487346ce7be7abdf3e08aacd5f01f98 (patch)
treed95cc6d5a6af28b8491f7232b0d2adc56d11e8dc /doc
parent571e3c1d5e0760ef9ad4dd38bf33b2e48677129a (diff)
downloadaptitude-2613ca620487346ce7be7abdf3e08aacd5f01f98.tar.gz
Document Get-Root-Command from the section on "becoming root" (Closes: #548657).
Thanks to Matt Kraai for the initial version of the text.
Diffstat (limited to 'doc')
-rw-r--r--doc/en/aptitude.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/en/aptitude.xml b/doc/en/aptitude.xml
index 8ef7a61b..9afb0edc 100644
--- a/doc/en/aptitude.xml
+++ b/doc/en/aptitude.xml
@@ -2950,6 +2950,15 @@ Th+-------------------------------------------------------------------------+
states will be preserved (but will not be saved until you
quit &aptitude;).
</para>
+
+ <para>
+ By default, aptitude will use the command
+ <systemitem>su</systemitem> to gain root privileges. If you
+ would like it to use some other command (such as
+ <systemitem>sudo</systemitem>), set the configuration option
+ <link
+ linkend='configGet-Root-Command'><literal>Aptitude::Get-Root-Command</literal></link>.
+ </para>
</section>
</section>