Re: MAJOR hole in 5.0
Chris Lingard <[email protected]>
| Newsgroups | gmane.linux.lfs.security |
|---|---|
| Organization | Linux From Scratch |
| Message-ID | <[email protected]> |
Ian Molton wrote: > Hi. > > I dont want to steal anyones thunder at all by this but anyone who built > a 5.0pre1 is subject to a pretty major security hole. > > the 'nobody' user in /etc/passwd is wrong. anyone building 5.0 should > check this is not screwed on their build. > > it SHOULD be: > > nobody:x:1000:1000:::/bin/false > > and not: > > nobody:x:1000:1000:nobody:/:/bin/bash > > hole found by voidcore on IRC. nobody::1000:1000:::/bin/bash is fine when building LFS Its reason, as you know, is just for testing. Anything that helps the user to build a clean LFS hould be encouraged. The putting your new LFS on the internet comes much later. How about if you add to "The End" Remove user nobody, as this will now be a security risk, when you put your new LFS systm on the internet. The command for this is: userdel nobody Chris No more problems :-) -- http://linuxfromscratch.org/mailman/listinfo/lfs-security FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page