Skip to content

Commit

Permalink
Update default PAM service (cups instead of other)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Dec 3, 2019
1 parent 5d2ac21 commit 71023b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/help/man-ippeveprinter.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2 class="title"><a name="OPTIONS">Options</a></h2>
<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>
<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>
<dd style="margin-left: 5.0em">Show the CUPS version.
<dt><b>-2</b>
Expand Down
2 changes: 1 addition & 1 deletion man/ippeveprinter.1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Disable the web interface forms used to update the media and supply levels.
.TP 5
\fB\-\-pam\-service \fIservice\fR
Set the PAM service name.
The default service is "other".
The default service is "cups".
.TP 5
.B \-\-version
Show the CUPS version.
Expand Down
2 changes: 1 addition & 1 deletion tools/ippeveprinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ main(int argc, /* I - Number of command-line args */

case 'A' : /* -A (enable authentication) */
if (!PAMService)
PAMService = "other";
PAMService = "cups";
break;

case 'D' : /* -D device-uri */
Expand Down

0 comments on commit 71023b1

Please sign in to comment.