1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

chasquid-util: Add domaininfo-remove

This patch adds a chasquid-util subcommand to remove a domain
information entry.

The main use case is to manually allow a security level downgrade, after
performing manual verification.
This commit is contained in:
Alberto Bertogli
2018-05-20 12:18:44 +01:00
parent a177fec7c3
commit 4373f56a82
4 changed files with 55 additions and 9 deletions

View File

@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "chasquid-util 1"
.TH chasquid-util 1 "2018-04-03" "" ""
.TH chasquid-util 1 "2018-05-20" "" ""
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -148,6 +148,8 @@ chasquid\-util \- chasquid management tool
.PP
\&\fBchasquid-util\fR [\fIoptions\fR] aliases-resolve \fIaddr\fR
.PP
\&\fBchasquid-util\fR [\fIoptions\fR] domaininfo-remove \fIdomain\fR
.PP
\&\fBchasquid-util\fR [\fIoptions\fR] print-config
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
@@ -169,6 +171,10 @@ Check the integrity of the domain's users database.
.IP "\fBaliases-resolve\fR \fIaddr\fR" 8
.IX Item "aliases-resolve addr"
Resolve the given address.
.IP "\fBdomaininfo-remove\fR \fIdomain\fR" 8
.IX Item "domaininfo-remove domain"
Remove the domain information entry. This can be used to manually allow a
security level downgrade.
.IP "\fBprint-config\fR" 8
.IX Item "print-config"
Parse and print the configuration in a human-readable way.

View File

@@ -15,6 +15,8 @@ B<chasquid-util> [I<options>] check-userdb I<domain>
B<chasquid-util> [I<options>] aliases-resolve I<addr>
B<chasquid-util> [I<options>] domaininfo-remove I<domain>
B<chasquid-util> [I<options>] print-config
@@ -46,6 +48,11 @@ Check the integrity of the domain's users database.
Resolve the given address.
=item B<domaininfo-remove> I<domain>
Remove the domain information entry. This can be used to manually allow a
security level downgrade.
=item B<print-config>
Parse and print the configuration in a human-readable way.