[cups.general] Re: Its just not working?
Anonymous
anonymous at easysw.com
Wed Oct 20 04:40:12 PDT 2004
Michael Sweet wrote:
> Till Kamppeter wrote:
> > Anonymous wrote:
> >
> >>
> >>
> >> 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/.
> >>
> >
> > Your lppasswd is SUID nobody, so it runs always as the user nobody, even
> > if you start it as root. It should most probably SUID root (do "chown
> > root.sys /usr/bin/lppasswd; chmod u+s /usr/bin/lppasswd" to fix this).
> > Otherwise users cannot change their passwords and even root cannot set
> > his password.
>
> Actually, it should be setuid to the "lp" user (or whatever user is
> configured in /etc/cups/cupsd.conf). We got rid of the setuid root
> requirement a long time ago.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products mike at easysw dot com
> Internet Printing and Document Software http://www.easysw.com
Hm, now if i try to run lppasswd with root i get:
lppasswd: user "root" and group "sys" do not exist.
group and user are in /etc/passwd /etc/group ?
>....setuid to the "lp" user (or whatever user is
> configured in /etc/cups/cupsd.conf)....
please tell me which parameter i should change in the config. ive got some hits on the word user.....
More information about the cups
mailing list