The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
656 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
0
votes
1answer
31 views

Difference between telinit and running scripts manually under rc*.d

I was trying to debug my Linux boot process. If I set the default runlevel to 2 or 3, my system hangs without giving me a prompt. I was able to get to runlevel 1 via a kernel parameter, and ran all ...
0
votes
1answer
125 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 ...
2
votes
1answer
46 views

Solved - Solaris 10 - Is it possible to reboot a system from a startup script?

I have a Solaris 10 test guest logical domain (LDom). I plan to have the network on this be reconfigured before rebooting using a startup script in /etc/rc0.d. At the moment, when the system boots, ...
0
votes
1answer
35 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 ...
5
votes
2answers
429 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
2answers
85 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
1answer
356 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 ...
0
votes
0answers
19 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 ...
-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?
0
votes
2answers
532 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
93 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 ...
4
votes
3answers
574 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
3answers
488 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? ...
0
votes
2answers
75 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.
2
votes
2answers
146 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
310 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? ...
2
votes
3answers
434 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?
3
votes
1answer
5k 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
898 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
1answer
186 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 ...