--- Em qui, 24/1/13, Armin K. escreveu:
> De: Armin K.
> Assunto: Re: [blfs-support] Cups security issue - /etc/cups/cups-files.conf
> needed (Was: ... [BLFS Trac] #3754 ...)
> Para:
> Data: Quinta-feira, 24 de Janeiro de 2013, 12:57
> On 01/24/2013 03:24 PM, Fernando de
> Oliveira wrote:
> > Hi, Armin,
> >
> > Sending to the support list, as I really need this
> support.
> >
> > As I am very concerned with this issue, have tried to
> solve it, daily,
> > without success, would you please reply to this,
> attaching the
> > cups-1.6.1-upstream-fixes-3.patch? I will immediately
> try it.
> >
> > Thank you very much indeed for finding the solution!!!
> >
> > []s,
> > Fernando
> >
> >
>
> There. Patches and book commits now go to new server which
> is not yet ready.
>
> Use
>
> patch -Np1 -i ../cups-1.6.1-CVE-2012-5519-1.patch
> &&
> patch -Np1 -i ../cups-1.6.1-upstream-fixes-3.patch
> &&
> patch -Np1 -i ../cups-1.6.1-blfs-2.patch &&
> aclocal -I config-scripts &&
> autoconf -I config-scripts &&
> ./configure --libdir=/usr/lib \
>
> --with-rcdir=/tmp/cupsinit \
>
> --with-docdir=/usr/share/cups/doc \
>
> --with-system-groups=lpadmin &&
> make
>
> Sending this directly [...], it looks like the
> original reply
> never got through. It might be the mailman blocking mail
> since patches
> are a bit big.
Thank you, Armin.
Sending to the list, so more people could reach using search tools
(well, when the servers are back running without problems).
Builds perfectly, and installs the new /etc/cups/cups-files.conf.
I changed owner:
chown -v 0:0 /etc/cups/{snmp.conf,cups-files.conf}
However, as before in the older page of the book, without the
cups-files.conf, when daemon is restarted, owner of cups-files.conf
changes back to "root lp":
# chown -v 0:0 /etc/cups/cups-files.conf
changed ownership of "/etc/cups/cups-files.conf" from root:lp to 0:0
root [ /etc/cups ]# ls -l /etc/cups/cups-files.conf
-rw-r----- 1 root root 2892 Jan 24 13:19 /etc/cups/cups-files.conf
root [ /etc/cups ]# /etc/rc.d/init.d/cups restart
* Stopping CUPS Printserver...
[ OK ]
* Starting CUPS Printserver...
[ OK ]
root [ /etc/cups ]# ls -l /etc/cups/cups-files.conf
-rw-r----- 1 root lp 2892 Jan 24 13:19 /etc/cups/cups-files.conf
I have
root [ /etc/cups ]# ls -l /media/Ubuntu32/etc/cups/cups-files.conf
-rw-r--r-- 1 root root 2884 Dez 4 12:21
/media/Ubuntu32/etc/cups/cups-files.conf
but have no clue where or what to change for this to be persistent in
BLFS.
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page