aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-25 13:12:20 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-25 13:12:20 -0700
commit74f18afbde618b84d09567a2a4152b82b705d70a (patch)
tree7d1aa384f865891c7ea52c299bbc02449367550c
parent5ecad8f4c59a2908fc0c71e3be3324c088d7c1e7 (diff)
downloadconsfigurator-74f18afbde618b84d09567a2a4152b82b705d70a.tar.gz
USER:HAS-ENABLED-PASSWORD: make INITIAL-PASSWORD a keyword argument
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/property/user.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/user.lisp b/src/property/user.lisp
index b10b258..bf30eb0 100644
--- a/src/property/user.lisp
+++ b/src/property/user.lisp
@@ -39,7 +39,7 @@ Note that this uses getent(1) and so is not strictly POSIX-compatible."
(file:contains-lines "/etc/shells" shell)
(mrun "chsh" "--shell" shell username)))
-(defprop has-enabled-password :posix (username initial-password)
+(defprop has-enabled-password :posix (username &key (initial-password "changeme"))
"Ensures that it is possible to login as USERNAME; if this requires enabling
the account's password, also set it to INITIAL-PASSWORD.
The main purpose of this property is to ensure that in a freshly installed