How do I change the default run level in Linux?



  • Edit /etc/inittab and change id:5:initdefault: as appropriate.

    For example, in the example below, the default run level is 5:
    id:5:initdefault:

    To change it to 3:

    # vi /etc/inittab
    id:3:initdefault:
    

    This change will only take effect after a reboot.


Log in to reply
 

© Lightnetics 2024