2019-02-26 18:43:56 +01:00
|
|
|
|
.\" Manpage for malcontent\-client.
|
|
|
|
|
.\" Documentation is under the same licence as the malcontent
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\" package.
|
2019-06-13 19:58:08 +02:00
|
|
|
|
.TH man 8 "13 Jun 2019" "1.1" "malcontent\-client man page"
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.SH NAME
|
|
|
|
|
.IX Header "NAME"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
malcontent\-client — Parental Controls Access Utility
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.IX Header "SYNOPSIS"
|
|
|
|
|
.\"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
\fBmalcontent\-client get [\-q] [\-n] [\fPUSER\fB]
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.PP
|
2019-06-13 19:58:08 +02:00
|
|
|
|
\fBmalcontent\-client check [\-q] [\-n] [\fPUSER\fB] \fPARG\fB
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
.IX Header "DESCRIPTION"
|
|
|
|
|
.\"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
\fBmalcontent\-client\fP is a utility for querying and updating the
|
2018-10-02 18:03:33 +02:00
|
|
|
|
parental controls settings for users on the system. It will typically require
|
|
|
|
|
adminstrator access to do anything more than query the current user’s parental
|
|
|
|
|
controls.
|
|
|
|
|
.PP
|
|
|
|
|
It communicates with accounts-service, which stores parental controls data.
|
|
|
|
|
.PP
|
|
|
|
|
Its first argument is a command to run. Currently, the only supported commands
|
|
|
|
|
are \fBget\fP and \fBcheck\fP.
|
|
|
|
|
.\"
|
|
|
|
|
.SH \fBget\fP OPTIONS
|
|
|
|
|
.IX Header "get OPTIONS"
|
|
|
|
|
.\"
|
|
|
|
|
.IP "\fBUSER\fP"
|
|
|
|
|
Username or ID of the user to get the app filter for. If not specified, the
|
|
|
|
|
current user will be used by default.
|
|
|
|
|
.\"
|
|
|
|
|
.IP "\fB\-q\fP, \fB\-\-quiet\fP"
|
|
|
|
|
Only output error messages, and no informational messages, as the operation
|
|
|
|
|
progresses. (Default: Output informational messages.)
|
|
|
|
|
.\"
|
|
|
|
|
.IP "\fB\-n\fP, \fB\-\-no\-interactive\fP"
|
|
|
|
|
Do not allow interactive authorization with polkit. If this is needed to
|
|
|
|
|
complete the operation, the operation will fail. (Default: Allow interactive
|
|
|
|
|
authorization.)
|
|
|
|
|
.\"
|
|
|
|
|
.SH \fBcheck\fP OPTIONS
|
|
|
|
|
.IX Header "check OPTIONS"
|
|
|
|
|
.\"
|
|
|
|
|
.IP "\fBUSER\fP"
|
|
|
|
|
Username or ID of the user to get the app filter for. If not specified, the
|
|
|
|
|
current user will be used by default.
|
|
|
|
|
.\"
|
2019-06-13 19:58:08 +02:00
|
|
|
|
.IP "\fBARG\fP"
|
|
|
|
|
Path to a program, content type or flatpak ref to check against the app filter,
|
|
|
|
|
to see if it is allowed for the specified user.
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.IP "\fB\-q\fP, \fB\-\-quiet\fP"
|
|
|
|
|
Only output error messages, and no informational messages, as the operation
|
|
|
|
|
progresses. (Default: Output informational messages.)
|
|
|
|
|
.\"
|
|
|
|
|
.IP "\fB\-n\fP, \fB\-\-no\-interactive\fP"
|
|
|
|
|
Do not allow interactive authorization with polkit. If this is needed to
|
|
|
|
|
complete the operation, the operation will fail. (Default: Allow interactive
|
|
|
|
|
authorization.)
|
|
|
|
|
.\"
|
|
|
|
|
.SH "ENVIRONMENT"
|
|
|
|
|
.IX Header "ENVIRONMENT"
|
|
|
|
|
.\"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
\fBmalcontent\-client\fP supports the standard GLib environment
|
2018-10-02 18:03:33 +02:00
|
|
|
|
variables for debugging. These variables are \fBnot\fP intended to be used in
|
|
|
|
|
production:
|
|
|
|
|
.\"
|
|
|
|
|
.IP \fI$G_MESSAGES_DEBUG\fP 4
|
|
|
|
|
.IX Item "$G_MESSAGES_DEBUG"
|
|
|
|
|
This variable can contain one or more debug domain names to display debug output
|
|
|
|
|
for. The value \fIall\fP will enable all debug output. The default is for no
|
|
|
|
|
debug output to be enabled.
|
|
|
|
|
.\"
|
|
|
|
|
.SH "EXIT STATUS"
|
|
|
|
|
.IX Header "EXIT STATUS"
|
|
|
|
|
.\"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
\fBmalcontent\-client\fP may return one of several error codes if it
|
2018-10-02 18:03:33 +02:00
|
|
|
|
encounters problems.
|
|
|
|
|
.\"
|
|
|
|
|
.IP "0" 4
|
|
|
|
|
.IX Item "0"
|
|
|
|
|
No problems occurred. The utility ran and successfully queried the app filter.
|
2019-06-13 19:58:08 +02:00
|
|
|
|
If running the \fBcheck\fP command, the given path, content type or flatpak ref
|
|
|
|
|
was allowed for the given user.
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.IP "1" 4
|
|
|
|
|
.IX Item "1"
|
2019-02-26 18:43:56 +01:00
|
|
|
|
An invalid option was passed to \fBmalcontent\-client\fP on
|
2018-10-02 18:03:33 +02:00
|
|
|
|
startup.
|
|
|
|
|
.\"
|
|
|
|
|
.IP "2" 4
|
|
|
|
|
.IX Item "2"
|
|
|
|
|
The current user was not authorized to query the app filter for the given user.
|
|
|
|
|
.\"
|
|
|
|
|
.IP "3" 4
|
|
|
|
|
.IX Item "3"
|
2019-06-13 19:58:08 +02:00
|
|
|
|
If running the \fBcheck\fP command, the given path, content type or flatpak ref
|
|
|
|
|
was \fInot\fP allowed for the given user.
|
2018-10-02 18:03:33 +02:00
|
|
|
|
.\"
|
|
|
|
|
.SH BUGS
|
|
|
|
|
.IX Header "BUGS"
|
|
|
|
|
.\"
|
|
|
|
|
Any bugs which are found should be reported on the project website:
|
|
|
|
|
.br
|
|
|
|
|
\fIhttps://support.endlessm.com/\fP
|
|
|
|
|
.\"
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
.IX Header "AUTHOR"
|
|
|
|
|
.\"
|
|
|
|
|
Endless Mobile, Inc.
|
|
|
|
|
.\"
|
|
|
|
|
.SH COPYRIGHT
|
|
|
|
|
.IX Header "COPYRIGHT"
|
|
|
|
|
.\"
|
|
|
|
|
Copyright © 2018 Endless Mobile, Inc.
|