Temporary (one time) change
init 5 to change to runlevel 5 or whatever runlevel you wish to change to
Permanent change
Edit /etc/inittab
Move on to the line:
id:5:initdefault: or a similar line and change to the required runlevel.
Temporary (one time) change
init 5 to change to runlevel 5 or whatever runlevel you wish to change to
Permanent change
Edit /etc/inittab
Move on to the line:
id:5:initdefault: or a similar line and change to the required runlevel.
Frankly I don’t recommend anyone edit inittab unless they really, really know what they are doing. Mistakes can render a system unbootable; and can be very inconvenient to recover from (if the system is properly secured [hahaha, they never are] it might be impossible…)
If you can write a three page essay with at least six citations as to why you need to change the default runlevel in the first place, then I actually recommend using a configuration tool, most distributions have one.
If you absolutely insist no not using a tool, triple check for typos.
Funny, I rarely recommend the use of automatic tools, but this is one case where all but the most experienced should use one if at all possible.
changing runlevels i recommend only for advance users.