summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/installation
diff options
context:
space:
mode:
authorDzmitry Malyshau <kvark@fastmail.com>2021-10-13 15:41:50 -0400
committerDzmitry Malyshau <kvark@fastmail.com>2021-10-18 09:25:48 -0400
commite7898e1226ecf1107f7268674bc3f68af0f3f689 (patch)
tree4a69ffcc343ea4d418443882e53ae5971db99c10 /nixos/doc/manual/from_md/installation
parentaf764f652799e2f01383fe1a33935817e38eaa4e (diff)
downloadnixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar.gz
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar.bz2
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar.lz
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar.xz
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.tar.zst
nixpkgs-e7898e1226ecf1107f7268674bc3f68af0f3f689.zip
Add command to switch to root
Installation guide assumed you are root but didn't explain how to get there. And it's not obvious.
Diffstat (limited to 'nixos/doc/manual/from_md/installation')
-rw-r--r--nixos/doc/manual/from_md/installation/installing.chapter.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/doc/manual/from_md/installation/installing.chapter.xml b/nixos/doc/manual/from_md/installation/installing.chapter.xml
index 91ab7168297..db073fa8396 100644
--- a/nixos/doc/manual/from_md/installation/installing.chapter.xml
+++ b/nixos/doc/manual/from_md/installation/installing.chapter.xml
@@ -25,8 +25,11 @@
     <para>
       You are logged-in automatically as <literal>nixos</literal>. The
       <literal>nixos</literal> user account has an empty password so you
-      can use <literal>sudo</literal> without a password.
+      can use <literal>sudo</literal> without a password:
     </para>
+    <programlisting>
+$ sudo -i
+</programlisting>
     <para>
       If you downloaded the graphical ISO image, you can run
       <literal>systemctl start display-manager</literal> to start the