Le 18/01/2014 17:35, Bruce Dubbs a écrit :
> Armin K. wrote:
>> On 01/18/2014 05:20 PM, Fernando de Oliveira wrote:
>>> 1. I discovered, the bad way, that cups-filters do not work, if you
>>> update or reinstall cups.
>>>
>>> The instructions:
>>>
>>> rm -rf /usr/share/cups/banners &&
>>> rm -rf /usr/share/cups/data/testprint
>>>
>>> remove them.
>>>
>>> Is it worth a note or comment in cups page about that?
>>>
>>
>> Maybe this is worth another thread, but better question would be: Do we
>> want support package updates?
>
> I think we do. It makes the book much more useful.
>
> -- Bruce
>
So, I think we'd have to change the instructions on the Linux-Pam page.
It has:
rm -rfv /etc/pam.d
That is OK when shadow and/or sudo do not have PAM support. But when they
have, that instruction locks you out of your own system!
You cannot su, sudo, &c anymore. And if you log out, you cannot log in anymore
either...
If we want to support updating, the instructions should be:
! [ -d /etc/pam.d ] && install -v -m755 -d /etc/pam.d
! [ -r /etc/pam.d/other ] || mv /etc/pam.d/other{,.save} &&
cat > /etc/pam.d/other << "EOF"
auth required pam_deny.so
account required pam_deny.so
password required pam_deny.so
session required pam_deny.so
EOF
make check
[ - r /etc/pam.d/other.save ] &&
mv /etc/pam.d/other{.save,} ||
rm -rfv /etc/pam.d/other
With some adequate words in "command explanations" or in the text (even a
warning about the risk of being unable to log in again)
Any thoughts
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page