diff options
author | David Bremner <david@tethera.net> | 2021-09-29 20:59:28 -0300 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-09-29 17:24:31 -0700 |
commit | b40a5930ae62b5491ccf371dd1adbc47290d1953 (patch) | |
tree | fede26f038847d2541628d1c5f67ff3ec98def65 /src/package.lisp | |
parent | adf7f77e1a1ec4f1c6a94b362171b335525bb907 (diff) | |
download | consfigurator-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.lisp | 1 |
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 |