On 07/12/2014 11:04 PM, Alexey Orishko wrote:
> 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
> 

Ubuntu always did that. They lock the root password (passwd -l) and make
a first added user an administrator which has full sudo access.

-- 
Note: My last name is not Krejzi.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to