After installing OpenSSH,  I'm seeing errors like this:

        sshd[1226]: Excess permission or bad ownership on file /var/log/btmp

Quick google turns up:

        https://issues.rpath.com/browse/RPL-1825

TL;DR - I think we ought to change the last few lines from this:

        touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
        chgrp -v utmp /var/run/utmp /var/log/lastlog
        chmod -v 664 /var/run/utmp /var/log/lastlog

to this:

        touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
        chgrp -v utmp /var/run/utmp /var/log/{lastlog,btmp}
        chmod -v 664 /var/run/utmp /var/log/lastlog
        chmod -v 0600 /var/log/btmp

Does anyone see an issue with changing the group and perms of /var/log/btmp to 
fit SSH's expectations?

        Q

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to