Re: unsafe file permissions on /usr/bin/login
JP <[email protected]> Wed, 28 Nov 2018 10:56:05 -0500
| Newsgroups | gmane.os.netbsd.devel.security |
|---|---|
| Message-ID | <CAHN8Bqq0hJib7oCHgjGi6N45fv0RxC3Niv7F1N6uVOk6wFU_aA@mail.gmail.com> |
The file should not be suid On Wed, Nov 28, 2018 at 10:50 AM Joerg Sonnenberger <[email protected]> wrote: > On Wed, Nov 28, 2018 at 09:51:10AM -0500, JP wrote: > > The suid bit is set on the /usr/bin/login binary. This results in the > > system being susceptible to a manual (login) attack on user accounts > > (including root). An attack can be initiated by any user with a shell. > > (Also, consider a system with no root password - my preferred) > > WTF are you talking about. Using /usr/bin/login is not an attack. It's a > *login*. > > Joerg >