Merge pull request #3522 from ryantm/patch-1

add note about mutableUsers to user management section
This commit is contained in:
Michael Raskin 2014-08-23 12:47:42 +04:00
commit 327074682f

View File

@ -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