<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3..org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
..MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D">Apologies, we’ve managed to answer it ourselves. We experimented with some of the sections from the newer cupsd.conf file and have managed to work out which bit we needed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D">Sean<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:
"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;
font-family:"Tahoma","sans-serif""> cups-bounces@easysw..com [mailto:cups-bounces@easysw.com]
<b>On Behalf Of </b>Burke Sean<br>
<b>Sent:</b> 24 March 2011 11:54<br>
<b>To:</b> cups@easysw.com<br>
<b>Subject:</b> [cups.general] Movinging from v1.2.6 to v1.4.4 on Sol10 and now being prompted for root pw on cmd line commands<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt;color:black">Hi folks,</span></tt><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<br>
<tt>we are in the process of moving from vers 1.2.6 on Solaris 10 to Vers 1..4.4 also on Solaris 10 and the cups admin has noticed that he is now being prompted for the root password when he trys to enable/disable printers from the command line:</tt><br>
<br>
<tt>cupsenable mtxpt01</tt><br>
<tt>Password for root on localhost?</tt><br>
<br>
<tt>Giving the root password has no effect.</tt><br>
<br>
<tt>I can't see anything obvious as to why this would be compared to the previous version.</tt><br>
<br>
<tt>A process trace of the new version shows:</tt><br>
<tt>11064:  open64("/opt/csw/var/run/cups/certs/11064", O_RDONLY) Err#2 ENOENT</tt><br>
<tt>11064:  open("/dev/tty", O_RDWR)                        = 5</tt><br>
<tt>...</tt><br>
<tt>Password for root on localhost? 11064:  write(5, " P a s s w o r d   f o r".., 32)      = 32</tt><br>
<tt>11064:  read(5, 0xFF0B4E54, 1)          (sleeping...)</tt><br>
<tt>11064:  fstat64(2, 0xFFBFCCC8)                          = 0</tt><br>
<tt>cupsenable: Operation failed: client-error-not-authorized</tt><br>
<br>
<br>
<tt>and a trace of the older version shows:</tt><br>
<tt>21002:  open64("/opt/csw/var/run/cups/certs/21002", O_RDONLY) Err#2 ENOENT</tt><br>
<tt>21002:  open64("/opt/csw/var/run/cups/certs/0", O_RDONLY) = 7</tt><br>
<tt>21002:  fstat64(7, 0xFFBF6AA8)                          = 0</tt><br>
<tt>etc and completes without a pw prompt</tt><br>
<br>
<tt>"/opt/csw/var/run/cups/certs/0" exists on both servers, but it looks like the newer version is not attempting to find it and is asking for the pw.</tt><br>
<br>
<tt>Any thoughts?</tt><br>
<br>
<tt>Cheers</tt><br>
<br>
<tt>Sean</tt></span><span style="font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">Sean Burke<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">UNIX Systems Engineer</span><span lang="EN-US" style="font-size:
12.0pt;font-family:"Arial","sans-serif";color:black">
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">Stryker S.A.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">Cité-Centre, Grand-rue 92<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">1820 Montreux<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="FR-CH" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Switzerland<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:black">tel.: + 41 21 966 13 54<br>
mbl: +41 79 362 85 15<br>
sean.burke@stryker.com<u><br>
</u>www.stryker.eu</span><span lang="EN-US" style="font-size:12.0pt;font-family:
"Arial","sans-serif";color:black">
</span><span lang="EN-US" style="font-family:
"Arial","sans-serif";color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray">Stryker SA / Registered number: CH-550-0054924-4 / Registered office: Cité-Centre, Grand rue 90, 1820 Montreux / VAT number: . 291987<br>
<br>
Les informations contenues dans ce courriel ainsi que les éventuelles pièces jointes sont exclusivement destinées à l’usage du ou des destinataires prévus. Ce courriel peut contenir des informations privilégiées ou confidentielles aux yeux de la loi ou le produit
 d’un travail soumis au secret professionnel de l’avocat ou autrement protégé contre la divulgation. Aucune renonciation à un quelconque privilège n’est envisagée. Si vous n’êtes pas le destinataire prévu, toute interception, communication, diffusion ou copie
 est strictement interdite et pourra donner lieu à des poursuites pénales ou civiles à votre encontre. Si vous avez reçu ce courriel par erreur, veuillez en avertir l’expéditeur par téléphone ou par retour de courriel et confirmer que vous détruirez ou effacerez
 de votre système toutes les exemplaires de ce message et des éventuelles pièces jointes.<br>
<br>
The information contained in this email message and any attachments is exclusively for the use of the intended recipient(s). It may contain legally privileged, confidential information or work product subject to attorney-client privilege or otherwise protected
 from disclosure. No waiver of any privilege is intended. If you are not the intended recipient, any interception, dissemination, distribution or copying is strictly prohibited, and may subject you to criminal and/or civil penalties. If you have received this
 email message in error, please notify the sender by telephone or by email reply and confirm that you will destroy or delete all copies of the message and any attachments from your system.</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Stryker SA / Registered number: CH-550-0054924-4 / Registered office: Cité-Centre, Grand rue 90, 1820 Montreux / VAT number: . 291987<br>
<br>
Les informations contenues dans ce courriel ainsi que les éventuelles pièces jointes sont exclusivement destinées à l’usage du ou des destinataires prévus. Ce courriel peut contenir des informations privilégiées ou confidentielles aux yeux de la loi ou le produit
 d’un travail soumis au secret professionnel de l’avocat ou autrement protégé contre la divulgation. Aucune renonciation à un quelconque privilège n’est envisagée. Si vous n’êtes pas le destinataire prévu, toute interception, communication, diffusion ou copie
 est strictement interdite et pourra donner lieu à des poursuites pénales ou civiles à votre encontre. Si vous avez reçu ce courriel par erreur, veuillez en avertir l’expéditeur par téléphone ou par retour de courriel et confirmer que vous détruirez ou effacerez
 de votre système toutes les exemplaires de ce message et des éventuelles pièces jointes.<br>
<br>
The information contained in this email message and any attachments is exclusively for the use of the intended recipient(s). It may contain legally privileged, confidential information or work product subject to attorney-client privilege or otherwise protected
 from disclosure. No waiver of any privilege is intended. If you are not the intended recipient, any interception, dissemination, distribution or copying is strictly prohibited, and may subject you to criminal and/or civil penalties. If you have received this
 email message in error, please notify the sender by telephone or by email reply and confirm that you will destroy or delete all copies of the message and any attachments from your system.<br>
</font>
</body>
</html>