Its just not working?

Helge Blischke H.Blischke at srz-berlin.de
Wed Oct 20 06:24:25 PDT 2004


Anonymous wrote:
> 
> Helge Blischke wrote:
> > Anonymous wrote:
> > >
> > > Russ Fineman wrote:
> > > > Anonymous wrote:
> > > >
> > > > > Ive tried to setup my hp3420, the driver seems to be included in cups cvs,
> > > > > but if i try to add a printer in the web interface all i get is:
> > > > > "client-error-not-authorized"
> > > > >
> > > > > on the command line logged in as root:
> > > > >
> > > > > lpadmin -p printer -E -v usb:/dev/usb/lp0 -m deskjet.ppd
> > > > > lpadmin: add-printer (enable) failed: client-error-not-authorized
> > > > >
> > > > > Whats wrong?
> > > > >
> > > > > Regards
> > > > > Julius
> > > > Did you enter an lppasswd, then you can use your browser to log on to the
> > > > admin at localhost:631 to do the admin.
> > > >
> > > > The lack know about the password had me stump until someone on this news
> > > > group told me about it.
> > > > --
> > > > Russ
> > >
> > > lppasswd: Unable to open passwd file: Permission denied
> > >
> > > cups is installed with --prefix=/usr
> > >
> > > this programm is just not working, how can there be a permission denied error while logged in as root?
> >
> > Is CUPS configured with RunAsUser ?
> > What are permissions for the lppasswd program and the digest password
> > file?
> > I recently read in this NG that ther may be a bug in the installation
> > script.
> >
> > Helge
> 
> Ive changed nothing in the configs,
> RunAsUser is not set in cupsd.conf.
> -rwsr-xr-x  1 nobody sys 8532 2004-10-17 21:16 /usr/bin/lppasswd
> how is the digest password file called?
> theres nothing with *password* in  /usr/etc/cups/.
> 
> Regards
> Julius

First, is "nobody" a member of the "sys" group? lppasswd is installed
suid nobody in your case, this is certainly wrong.
Second, the password file should be /uer/etc/cups/passwd.md5

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list