From 2c56143ba03b5546c44a1ea91e7901c988498e84 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 24 Dec 2024 00:58:30 +0100 Subject: [PATCH] Fix description of wildcard-user in README. Thanks to J.-J. Sarton. --- README | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README b/README index 887d138..67de965 100644 --- a/README +++ b/README @@ -286,9 +286,9 @@ even Unix passwords). When password authorisation is used, authorised usernames and password are defined directly in the group configuration file, in the `users` and -`fallback-users` entries. The `users` entry is a dictionary that maps -user names to user descriptions; the `fallback-users` is a list of user -descriptions that are used with usernames that don't appear in `users`. +`wildcard-user` entries. The `users` entry is a dictionary that maps user +names to user descriptions; the `wildcard-user` is a user description +that is used with usernames that don't appear in `users`. Every user description is a dictionary with fields `password` and `permissions`. The `password` field may be a literal password string, or @@ -304,13 +304,12 @@ For example, the entry specifies that user "jch" may login as operator with password "1234", while - "fallback-users": [{"password": "1234", "permissions": "present"}] + "wildcard-user": {"password": "1234", "permissions": "present"} allows any username with password *1234*. Finally, - "fallback-users": [ + "wallback-user": {"password": {"type": "wildcard"}, "permissions": "present"} - ] allows any username with any password.