[cups.general] Movinging from v1.2.6 to v1.4.4 on Sol10 and now being prompted for root pw on cmd line commands

Burke Sean sean.burke at stryker.com
Thu Mar 24 07:36:25 PDT 2011


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.

Cheers

Sean

From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Burke Sean
Sent: 24 March 2011 11:54
To: cups at easysw.com
Subject: [cups.general] Movinging from v1.2.6 to v1.4.4 on Sol10 and now being prompted for root pw on cmd line commands

Hi folks,

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:

cupsenable mtxpt01
Password for root on localhost?

Giving the root password has no effect.

I can't see anything obvious as to why this would be compared to the previous version.

A process trace of the new version shows:
11064:  open64("/opt/csw/var/run/cups/certs/11064", O_RDONLY) Err#2 ENOENT
11064:  open("/dev/tty", O_RDWR)                        = 5
....
Password for root on localhost? 11064:  write(5, " P a s s w o r d   f o r"..., 32)      = 32
11064:  read(5, 0xFF0B4E54, 1)          (sleeping...)
11064:  fstat64(2, 0xFFBFCCC8)                          = 0
cupsenable: Operation failed: client-error-not-authorized


and a trace of the older version shows:
21002:  open64("/opt/csw/var/run/cups/certs/21002", O_RDONLY) Err#2 ENOENT
21002:  open64("/opt/csw/var/run/cups/certs/0", O_RDONLY) = 7
21002:  fstat64(7, 0xFFBF6AA8)                          = 0
etc and completes without a pw prompt

"/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.

Any thoughts?

Cheers

Sean

Sean Burke
UNIX Systems Engineer
Stryker S.A.
Cité-Centre, Grand-rue 92
1820 Montreux
Switzerland
tel.: + 41 21 966 13 54
mbl: +41 79 362 85 15
sean.burke at stryker.com
www.stryker.eu


________________________________
Stryker SA / Registered number: CH-550-0054924-4 / Registered office: Cité-Centre, Grand rue 90, 1820 Montreux / VAT number: . 291987

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.

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.

________________________________
Stryker SA / Registered number: CH-550-0054924-4 / Registered office: Cité-Centre, Grand rue 90, 1820 Montreux / VAT number: . 291987

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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20110324/262a8342/attachment-0001.html>


More information about the cups mailing list