Monday, February 21, 2011

Hacked : Run Level on Linux

Did you ever know what it is the run level?
Run Level is a state that is run on the Linux operating system on a particular phase.

Runlevel runlevel in linux that is 0-6 and emergency, own runlevel determine service2 which run automatically on your Linux, by default runlevel on the desktop / server GUI running in runlevel 5.

A system be booted into cans (ie, started up into) any of installments runlevels, EACH of the which is represented by a single digit integer. EACH runlevel designates a different system configuration and allows access to a different combination of processes (ie, instances of executing programs).

"Runlevel" defines the state of the machine after boot. Different runlevels are typically assigned to:

# init 0-6
0 = halt / PowerOff - shutdown-h now
6 = reboot - shutdown-r now

1, s, S, the single is on the run level single user mode is typically used for recovering your system, eg forgotten password, live in init 1 just days after the entry immediately wrote a prompt single user instead of root password. run in rc.sysinit

emergency bypass rc.sysinit, sulogin-prompt for root password

2 Multiuser mode without NFS
3 full multiuser textmode, usually runlevel is used for server
4 official undefined
5 GUI

sample / etc / inittab
id:5:initdefault:

You can edit this file with vim or nano editor with root previledges, after you edit this file you can reboot your machine to take effect.

imagine if the number five on the file above was replaced with 6?
source : http://www.era-techno.com/2011/02/hacked-run-level-on-linux.html

No comments:

Post a Comment