Update default PAM service (cups instead of other)
Esse commit está contido em:
@@ -94,7 +94,7 @@ The following options are recognized by
|
|||||||
<dd style="margin-left: 5.0em">Disable the web interface forms used to update the media and supply levels.
|
<dd style="margin-left: 5.0em">Disable the web interface forms used to update the media and supply levels.
|
||||||
<dt><b>--pam-service </b><i>service</i>
|
<dt><b>--pam-service </b><i>service</i>
|
||||||
<dd style="margin-left: 5.0em">Set the PAM service name.
|
<dd style="margin-left: 5.0em">Set the PAM service name.
|
||||||
The default service is "other".
|
The default service is "cups".
|
||||||
<dt><b>--version</b>
|
<dt><b>--version</b>
|
||||||
<dd style="margin-left: 5.0em">Show the CUPS version.
|
<dd style="margin-left: 5.0em">Show the CUPS version.
|
||||||
<dt><b>-2</b>
|
<dt><b>-2</b>
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ Disable the web interface forms used to update the media and supply levels.
|
|||||||
.TP 5
|
.TP 5
|
||||||
\fB\-\-pam\-service \fIservice\fR
|
\fB\-\-pam\-service \fIservice\fR
|
||||||
Set the PAM service name.
|
Set the PAM service name.
|
||||||
The default service is "other".
|
The default service is "cups".
|
||||||
.TP 5
|
.TP 5
|
||||||
.B \-\-version
|
.B \-\-version
|
||||||
Show the CUPS version.
|
Show the CUPS version.
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ main(int argc, /* I - Number of command-line args */
|
|||||||
|
|
||||||
case 'A' : /* -A (enable authentication) */
|
case 'A' : /* -A (enable authentication) */
|
||||||
if (!PAMService)
|
if (!PAMService)
|
||||||
PAMService = "other";
|
PAMService = "cups";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'D' : /* -D device-uri */
|
case 'D' : /* -D device-uri */
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário