summary refs log tree commit diff
path: root/gnu/installer/final.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-28 22:28:51 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-28 22:57:07 +0200
commit0e8e963d73e61c7666f9ec4efa98c1a277c72af9 (patch)
tree36b8766ac16258c4f935396878cbeeec0c98b7b1 /gnu/installer/final.scm
parent43c1c44a1194579cd9e0149e41886762d9efc9dc (diff)
downloadguix-0e8e963d73e61c7666f9ec4efa98c1a277c72af9.tar.gz
installer: User accounts can now have a "real name."
* gnu/installer/newt/user.scm (run-user-add-page): Add #:real-name.  Add
a label and entry for the real name and initialize the 'real-name' field
of the <user> record.
* gnu/installer/final.scm (create-user-database): Set the 'comment'
field of the <user-account> record.
Diffstat (limited to 'gnu/installer/final.scm')
-rw-r--r--gnu/installer/final.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer/final.scm b/gnu/installer/final.scm
index c41670c197..855b640030 100644
--- a/gnu/installer/final.scm
+++ b/gnu/installer/final.scm
@@ -71,6 +71,7 @@ USERS."
              (string=? "root" (user-name user)))
 
            (sys:user-account (name (user-name user))
+                             (comment (user-real-name user))
                              (group "users")
                              (uid (if root? 0 #f))
                              (home-directory