Moving from vers1.2.6 Vers1.4.4 on solaris and root pw prompt at cmd line

Sean Burke sean.burke at stryker.com
Thu Mar 24 02:20:57 PDT 2011


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





More information about the cups mailing list