[rt-commit] r130 - /redwax-tool/trunk/redwax-tool.c
rt-commit at redwax.eu
rt-commit at redwax.eu
Sun Dec 12 13:35:17 CET 2021
Author: minfrin at redwax.eu
Date: Sun Dec 12 13:35:17 2021
New Revision: 130
Log:
Add future options to handle user and group permissions.
Modified:
redwax-tool/trunk/redwax-tool.c
Modified: redwax-tool/trunk/redwax-tool.c
==============================================================================
--- redwax-tool/trunk/redwax-tool.c (original)
+++ redwax-tool/trunk/redwax-tool.c Sun Dec 12 13:35:17 2021
@@ -190,6 +190,10 @@
#define REDWAX_TOOL_SMIMEA_OUT 300
#define REDWAX_TOOL_SSHFP_OUT 301
#define REDWAX_TOOL_TLSA_OUT 302
+#define REDWAX_TOOL_USER_IN 303
+#define REDWAX_TOOL_USER_OUT 304
+#define REDWAX_TOOL_GROUP_IN 305
+#define REDWAX_TOOL_GROUP_OUT 306
#define REDWAX_EXIT_OK 0
#define REDWAX_EXIT_INIT 1
@@ -278,6 +282,10 @@
{ "smimea-out", REDWAX_TOOL_SMIMEA_OUT, 1, " --smimea-out=file\t\tWrite an SMIMEA DNS record to the given file." },
{ "sshfp-out", REDWAX_TOOL_SSHFP_OUT, 1, " --sshfp-out=file\t\tWrite an SSHFP DNS record to the given file." },
{ "tlsa-out", REDWAX_TOOL_TLSA_OUT, 1, " --tlsa-out=file\t\tWrite a TLSA DNS record to the given file." },
+ { "user-in", REDWAX_TOOL_USER_IN, 1, " --user-in=user\t\tUse the privileges of this user when reading certificates and keys." },
+ { "user-out", REDWAX_TOOL_USER_OUT, 1, " --user-out=user\t\tUse the privileges of this user when writing certificates and keys." },
+ { "group-in", REDWAX_TOOL_GROUP_IN, 1, " --group-in=group\t\tUse the privileges of this group when reading certificates and keys." },
+ { "group-out", REDWAX_TOOL_GROUP_OUT, 1, " --group-out=group\t\tUse the privileges of this group when writing certificates and keys." },
#endif
{ NULL }
};
More information about the rt-commit
mailing list