Cannot disable root login / Slackware Linux 15.0
by HytronBG from LinuxQuestions.org on (#6FM85)
Hi!
I have been using Slackware Linux since 90s and never seen this issue before. But something has changed with Slackware Linux 15.0
Back in the days (Even the previous Slackware 14.2), you would comment out all the ttys in /etc/securetty to disallow direct root login. But my currect /etc/securetty looks like this:
console
tty0
tty1
tty2
tty3
...and I am still able to login to the machine by telneting to it.
Does anyone know how to fix this? This is obviously a HUGE security risk that was not addressed before Slackware 15.0 was released. Slackware 15.0 was the first version to introduce PAM, and no matter what I add to the /etc/pam.d/login file I am still able to login directly to the root account using telnet. Does anyone have any idea?
(I typically login using telnet to my username and then from there if I need root access I would use: su - )
https://www.linuxquestions.org/quest...s_lq/icon8.gif
TIA!
I have been using Slackware Linux since 90s and never seen this issue before. But something has changed with Slackware Linux 15.0
Back in the days (Even the previous Slackware 14.2), you would comment out all the ttys in /etc/securetty to disallow direct root login. But my currect /etc/securetty looks like this:
console
tty0
tty1
tty2
tty3
...and I am still able to login to the machine by telneting to it.
Does anyone know how to fix this? This is obviously a HUGE security risk that was not addressed before Slackware 15.0 was released. Slackware 15.0 was the first version to introduce PAM, and no matter what I add to the /etc/pam.d/login file I am still able to login directly to the root account using telnet. Does anyone have any idea?
(I typically login using telnet to my username and then from there if I need root access I would use: su - )
https://www.linuxquestions.org/quest...s_lq/icon8.gif
TIA!