about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:47:42 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:47:42 +0400
commit327074682f04590bd01d72b44963afebd59494cd (patch)
tree1636b1af94c86516692e913f3a3263c7620ca8ae
parentc80f325109fecb9fe9594971b3bfa4eed329ba8c (diff)
parentfee04927a46a8c2368225486ef9df17bea270b92 (diff)
downloadnixlib-327074682f04590bd01d72b44963afebd59494cd.tar
nixlib-327074682f04590bd01d72b44963afebd59494cd.tar.gz
nixlib-327074682f04590bd01d72b44963afebd59494cd.tar.bz2
nixlib-327074682f04590bd01d72b44963afebd59494cd.tar.lz
nixlib-327074682f04590bd01d72b44963afebd59494cd.tar.xz
nixlib-327074682f04590bd01d72b44963afebd59494cd.tar.zst
nixlib-327074682f04590bd01d72b44963afebd59494cd.zip
Merge pull request #3522 from ryantm/patch-1
add note about mutableUsers to user management section
-rw-r--r--nixos/doc/manual/configuration.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration.xml b/nixos/doc/manual/configuration.xml
index d35a5fff4aa4..64372f3bbf14 100644
--- a/nixos/doc/manual/configuration.xml
+++ b/nixos/doc/manual/configuration.xml
@@ -1053,6 +1053,12 @@ a password. However, you can use the <command>passwd</command> program
 to set a password, which is retained across invocations of
 <command>nixos-rebuild</command>.</para>
 
+<para>If you set users.mutableUsers to false, then the contents of /etc/passwd
+and /etc/group will be congruent to your NixOS configuration. For instance,
+if you remove a user from users.extraUsers and run nixos-rebuild, the user
+account will cease to exist. Also, imperative commands for managing users
+and groups, such as useradd, are no longer available.</para>
+
 <para>A user ID (uid) is assigned automatically.  You can also specify
 a uid manually by adding