Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.96 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Becoming root</title><link rel="stylesheet" type="text/css" href="aptitude.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="aptitude user's manual"><link rel="up" href="ch02s01.html" title="The aptitude terminal user interface"><link rel="prev" href="ch02s01s03.html" title="Working with multiple views"><link rel="next" href="ch02s02.html" title="Managing packages"><link rel="preface" href="pr01.html" title="Introduction"><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started"><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide"><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions"><link rel="chapter" href="ch04.html" title="Chapter 4. Credits"><link rel="reference" href="rn01.html" title="Command-line reference"><link rel="refentry" href="rn01re01.html" title="aptitude"><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle"><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Becoming <code class="systemitem">root</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s01s03.html"><img src="images/prev.gif" alt="Prev"></a> </td><th width="60%" align="center">The <span class="command"><strong>aptitude</strong></span> terminal user interface</th><td width="20%" align="right"> <a accesskey="n" href="ch02s02.html"><img src="images/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="secBecomingRoot"></a>Becoming <code class="systemitem">root</code></h3></div></div></div><p> Some actions, such as updating the package lists, can only be performed as <code class="systemitem">root</code>. If you are not <code class="systemitem">root</code> and you try to update the package lists, <span class="command"><strong>aptitude</strong></span> will ask if you want to become <code class="systemitem">root</code>: </p><div class="screenshot"><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" style="cellpadding: 0; cellspacing: 0;" width="100%"><tr><td><img src="images/become-root-snapshot.png" width="100%"></td></tr></table><div class="longdesc-link" align="right"><br clear="all"><span class="longdesc-link">[<a href="ld-idp57157328.html" target="longdesc">D</a>]</span></div></div></div><p> If you select <span class="quote">“<span class="quote">Become root</span>”</span>, <span class="command"><strong>aptitude</strong></span> will prompt you for <code class="systemitem">root</code>'s password; when you have correctly entered it, <span class="command"><strong>aptitude</strong></span> will perform the action that required <code class="systemitem">root</code> privileges. You will still be <code class="systemitem">root</code> after the action completes. </p><p> You can switch to the <code class="systemitem">root</code> account at any time using the command <span class="guimenu">Actions</span> → <span class="guimenuitem">Become root</span>. Any changes you have made to package states will be preserved (but will not be saved until you quit <span class="command"><strong>aptitude</strong></span>). </p><p> By default, <span class="command"><strong>aptitude</strong></span> will use the command <code class="systemitem">su</code> to gain <code class="systemitem">root</code> privileges. If you would like it to use some other command (such as <code class="systemitem">sudo</code>), set the configuration option <a class="link" href="ch02s05s05.html#configGet-Root-Command"><code class="literal">Aptitude::Get-Root-Command</code></a>. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s01s03.html"><img src="images/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s01.html"><img src="images/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s02.html"><img src="images/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Working with multiple views </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> Managing packages</td></tr></table></div></body></html>