You shoud know how to change Redhat Linux system default run level for RHCE and RHCT exam preparation and questions :
1. edit /etc/inittab file and changerun level from level 5 (which is X or GUI mode ) to run level 3
# vi /etc/inittab
id:3:initdefault:
2. simply reboot the server and your default run level changes to level 3 which is text based linux session.
3.How to dynamically change the runlevel of Linux system without rebooting
- e.g: switch to single user mode :
- e.g: switch to X or GUI (desktop) mode
- e.g:If you have made changes to the /etc/inittab file to change the default runlevel and want to change the system to that new default you can do so by using the telinit with the q command-line option:
0 comments:
Post a Comment