The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
2answers
392 views

What happens if I set default system runlevel to 0 or 6?

What I understand from runlevels is that in each level some programs have permission to be executed and some don't. runlevel 3 boots system into CLI and runlevel 5 starts the default GUI. But I don't ...
4
votes
3answers
512 views

How do you boot Puppy Linux Slacko into the command line?

How do you boot Puppy Linux Slacko (or Precise or Wary) into the command line? I wish to startx only if I need it. Unfortunately it does not seem to copy Slackware's traditional /etc/inittab runlevel ...
3
votes
1answer
338 views

SysV init run levels

On a system that uses SysV init run levels such as Centos 5, when the OS is booting, does it go straight to the run level defined in /etc/inittab? If I change my run level using the init command do ...
3
votes
2answers
67 views

How to return either “on” or “off” for: chkconfig --list | grep httpd

To ensure httpd is automatically started on reboot. I simply run this command chkconfig httpd on what I am looking for is a way to be told if this setting is on or off instead of this command ...
3
votes
3answers
377 views

Rings and run levels

The question stated below might not be technically correct(misconception) so it would be appreciable if misconception is also addressed. Which ring level do the different *nix run levels operate in? ...
3
votes
1answer
4k views

Create and control start up scripts in BusyBox

I have compiled a custom linux kernel in BusyBox. BusyBox init does not support runlevels. When the kernel boots up in BusyBox, it first executes init which looks for the specified runlevel in ...
3
votes
1answer
858 views

Configuring Yaboot and Debian to Boot into a Command Line Login Shell?

I have a Debian Squeeze variant (MintPPC 9) installed on an old Mac Powerbook G4 (PowerPC CPU). I wish to boot it into a multiuser CLI login shell instead of automatically booting into the login ...
2
votes
3answers
397 views

Do I need to stop processes like mysql or apache before “reboot”?

I have been wondering if issuing a reboot command safely stops running LAMP processes like MySQL or Apache?
2
votes
2answers
136 views

How to associate a script at boot time to a specific run level?

I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
2
votes
1answer
173 views

Security drawbacks of disabling tty password check

I found that, in /etc/inittab, this modification (-a username) for the user u disables the login/password check for all tty:s: 1:2345:respawn:/sbin/getty -a u 38400 tty1 2:23:respawn:/sbin/getty -a u ...
2
votes
1answer
261 views

Relationship among runlevels and virtual terminals (TTY)

When I switch from rulevel 5 to 3 (with init command) and I press CtrlAltF1 up to F7, I realize that now I’m on TTY1 instead of TTY7 and when I switch back to runlevel 5 I return back to TTY7. Why? ...
0
votes
2answers
364 views

Switch between runlevel with init command in bash script … init 3 to init 5

I need your help with bash script that I’m trying to build. To keep things simple I will make it short: The script starts running once it’s gets to run level 5 so i copied the script to ...
0
votes
2answers
87 views

Which runlevel is best for a Linux (Debian) server (DBMS/SCM)?

I currently try to harden the system and the security of a Debian server running a database and a source code management. I just want networking and me (one user) to be able to login. Which runlevel ...
0
votes
1answer
32 views

telinit 1 and run a command there

I need to do some maintenance on a bunch of Debian (Wheezy) systems, and it has to happen at run level 1. But not all machines have a keyboard and a screen; some are even located somewhere else. So I ...
0
votes
1answer
76 views

Multi-user text mode runlevel in Ubuntu

I use Ubuntu as a server, and I want to change its runlevel to be full multi-user text mode (like init 3 in RedHat). Using runlevel command, I see that am running N 2 which is Graphical multi-user ...
0
votes
0answers
17 views

How to change run-level for a session? (from graphics to command-line only)

When I type init 1 the computer freezes. When I am running the 'normal' level of 2, how can I move to a command-line only running? I know that I can reach the command-line with Alt + Ctrl + F1-6, ...
0
votes
0answers
15 views

How do I run a command if my server wakes up from hibernate? [duplicate]

How do I get a bash command executed each time when my server wakes up from hibernate? For ex. I want to restart my XBMC on Ubuntu when my PC wakes up with $ sudo killall xbmc.bin -9 Where should ...
0
votes
2answers
74 views

Run level script - Help

I want the following command to be ran, as soon as system boots. glances -s -P redhat & How to achieve that? I tried writing a run level script which didn't work as expected.
0
votes
1answer
598 views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the commmand below to Centos and of course I get command not found. How do I then convert it to chkconfig ? update-rc.d redis_6379 defaults
-1
votes
3answers
34 views

Shall I expect faster boot when I boot my system with run level 1

I understand that when I set runlevel as 1, my system will boot with very basic set of commands. Does that mean the system will boot faster as compared to run level 5 or 3?