summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-09 00:04:48 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-09 00:52:02 +0200
commit4fc151b5a3c749833554379a96bd87676f6c5740 (patch)
tree14a62675151cc14645867df383ffd7c4a940d177 /nixos/doc/manual
parent8919d736a034c85eb3e38bc3d9baedcb00356e4e (diff)
downloadnixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.gz
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.bz2
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.lz
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.xz
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.tar.zst
nixpkgs-4fc151b5a3c749833554379a96bd87676f6c5740.zip
nixos-install: Ask the user to set a root password
This removes the need to have an initially empty root password.
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/installation.xml15
-rw-r--r--nixos/doc/manual/man-nixos-install.xml3
2 files changed, 17 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation.xml b/nixos/doc/manual/installation.xml
index dcbb20b19ee..fa4b89e6ba8 100644
--- a/nixos/doc/manual/installation.xml
+++ b/nixos/doc/manual/installation.xml
@@ -209,7 +209,20 @@ $ nixos-install</screen>
     a network issue while downloading binaries from the NixOS binary
     cache), you can just re-run <command>nixos-install</command>.
     Otherwise, fix your <filename>configuration.nix</filename> and
-    then re-run <command>nixos-install</command>.</para></listitem>
+    then re-run <command>nixos-install</command>.</para>
+
+    <para>As the last step, <command>nixos-install</command> will ask
+    you to set the password for the <literal>root</literal> user, e.g.
+
+<screen>
+setting root password...
+Enter new UNIX password: ***
+Retype new UNIX password: ***
+</screen>
+
+    </para>
+
+  </listitem>
 
   <listitem><para>If everything went well:
 
diff --git a/nixos/doc/manual/man-nixos-install.xml b/nixos/doc/manual/man-nixos-install.xml
index d5157859857..0ebee7d23f9 100644
--- a/nixos/doc/manual/man-nixos-install.xml
+++ b/nixos/doc/manual/man-nixos-install.xml
@@ -42,6 +42,9 @@ the following steps:
   and generates a GRUB configuration file that boots into the NixOS
   configuration just installed.</para></listitem>
 
+  <listitem><para>It prompts you for a password for the root
+  account.</para></listitem>
+
 </itemizedlist>
 
 </para>