aboutsummaryrefslogtreecommitdiff
path: root/src/package.lisp
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-09-29 20:59:28 -0300
committerSean Whitton <spwhitton@spwhitton.name>2021-09-29 17:24:31 -0700
commitb40a5930ae62b5491ccf371dd1adbc47290d1953 (patch)
treefede26f038847d2541628d1c5f67ff3ec98def65 /src/package.lisp
parentadf7f77e1a1ec4f1c6a94b362171b335525bb907 (diff)
downloadconsfigurator-b40a5930ae62b5491ccf371dd1adbc47290d1953.tar.gz
add USER:HAS-ACCOUNT-WITH-UID
The anticipated use case is where both uid and gid are to be set; making GID an optional keyword argument just allows a shorthand for the case of matching gid and uid. The limitation to a Debian-like OS is because of the assumption of a primary group per user. Refactor PASSWD-ENTRY to support a new function GROUP-ENTRY that does the same thing, but with the group database instead of the passwd database. Signed-off-by: David Bremner <david@tethera.net>
Diffstat (limited to 'src/package.lisp')
-rw-r--r--src/package.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/package.lisp b/src/package.lisp
index 6f3beff..09dfd58 100644
--- a/src/package.lisp
+++ b/src/package.lisp
@@ -446,6 +446,7 @@
(:local-nicknames (#:file #:consfigurator.property.file)
(#:os #:consfigurator.property.os))
(:export #:has-account
+ #:has-account-with-uid
#:has-groups
#:has-desktop-groups
#:has-login-shell