How to disable interactive startup in Linux

Fedora, CentOS and RHEL allow the console user to perform an interactive system start-up by pressing [I] key. Using interactive boot, attacker can disable the security services and may get access to system then better to disable this service.

01. Login as root

02. Edit this system file
[root@daddylinux~]# nano /etc/sysconfig/init

03. Go to end of the file
You will see PROMPT=yes it’s change to PROMPT=no

04. Save this file
Ctrl + O

05. Exit the file
Ctrl + X

1 comments:

Post a Comment