Andrew Benton wrote: > On Mon, 13 Feb 2012 04:01:55 -0800 > Qrux <[email protected]> wrote: > >> 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? > I agree, if we create /var/log/btmp it should be chmod 600, but I > wonder, do we need it? Does anything use it? The command 'lastb' uses btmp. I changed the permissions in svn. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
