On 07/12/2014 11:04 PM, Alexey Orishko wrote: Hello Alexey,
do you really want to disable root access from the console? If you have a simple BLFS system, the console is your local display/keyboard. Think about that request. You may kick yourself out in case of some repairable errors: e.g. home-partition full Cheers Claus
Hi all, I have a simple BLFS system (no graphics, no PAM) and I'd like to disable login as a root via both ssh and on console. Solution for ssh was described in relevant chapter of the book, but I can't find any recommendations to limit access via console. As I understand, one option is to change shell for root user. However some other distros using /etc/securetty. Can this file be used in BLFS for preventing access? What package must be included to support it? Are there any other ways to prevent access as a root on console? Regards, Alexey
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
