[cups.general] cups-1.2.1 build on SunOS 5.8, lppasswd command fails

wtautz wtautz at cs.uwaterloo.ca
Wed Jun 7 11:37:47 PDT 2006


Michael Sweet wrote:

> wtautz wrote:
>
>> Hi,
>> I having trouble running lppasswd as root to add new accounts
>> on a SunOS5.8 system.
>>
>> I did a truss -o logfile lppasswd cups-adm.
>>
>> logfile:
>>
>> It would seem it can't find locale files? (If so, how do I install
>> these, the locale
>> subdirectory in the source has not such files?)
>>
>> lppasswd: Unable to open password file: Permission denied which is
>> bizarre since I'm root???
>
>
> lppasswd is setuid to lp in 1.2.1 and earlier; this is STR #1735 and
> is fixed for 1.2.2.
>
> Quick fix: chown root /usr/bin/lppasswd.
>
Thanks Michael,

Of course :-( Just because I'm root doesn't mean it will run as root. One
can actually restrict root and the command runs as lp. Hence my problem.

Sorry for not checking the known bug list.

Walter





More information about the cups mailing list