about summary refs log tree commit diff
path: root/nixos/doc/manual/configuration/user-mgmt.xml
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2017-02-13 11:44:22 +0000
committerRobin Gloster <mail@glob.in>2017-02-13 13:54:40 +0100
commitb4cd251c54e8a07cfcb8cb46c53083f2f6c7a573 (patch)
treee19b389f21e76ec4babf91703a540c7ed8efa7d9 /nixos/doc/manual/configuration/user-mgmt.xml
parentb2fcf9fec58086a97a7740921369d1bc2a83f932 (diff)
downloadnixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar.gz
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar.bz2
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar.lz
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar.xz
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.tar.zst
nixlib-b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573.zip
Manual: document users.users.<name>.hashedPassword
Diffstat (limited to 'nixos/doc/manual/configuration/user-mgmt.xml')
-rw-r--r--nixos/doc/manual/configuration/user-mgmt.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/doc/manual/configuration/user-mgmt.xml b/nixos/doc/manual/configuration/user-mgmt.xml
index 829e5b9ea842..2bd9cca5622f 100644
--- a/nixos/doc/manual/configuration/user-mgmt.xml
+++ b/nixos/doc/manual/configuration/user-mgmt.xml
@@ -36,7 +36,10 @@ to set a password, which is retained across invocations of
 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>
+and groups, such as useradd, are no longer available. Passwords may still be
+assigned by setting the user's <literal>hashedPassword</literal> option. A
+hashed password can be generated using <command>mkpasswd -m sha-512</command>
+after installing the <literal>mkpasswd</literal> package.</para>
 
 <para>A user ID (uid) is assigned automatically.  You can also specify
 a uid manually by adding