mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #3522 from ryantm/patch-1
add note about mutableUsers to user management section
This commit is contained in:
commit
327074682f
@ -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
|
to set a password, which is retained across invocations of
|
||||||
<command>nixos-rebuild</command>.</para>
|
<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
|
<para>A user ID (uid) is assigned automatically. You can also specify
|
||||||
a uid manually by adding
|
a uid manually by adding
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user