All Questions

Tagged with
Filter by
Sorted by
Tagged with
4
votes
2answers
1k views

kernel parameter init=/bin/bash not working? (RHEL7, RHCSA test)

I took the RHCSA test a couple of weeks ago, which is a lab/hands-on test. The first step is to gain root access of the VM. Usually (and this works okay on my PC's VirtualBox CentOS 7 VM) I do this by ...
0
votes
1answer
136 views

What if the initdefault is set to 0 or 6 in RHEL7. How to solve it?

This might look stupid but i need to know. What if the initdefault is set to 0 or 6 in my redhat7 system. How to revert it back. As you can see i'm no expert so please give me a detailed explanation.
0
votes
1answer
1k views

inittab not restarting service after service crash in Red Hat 6.7

NOTE: I am running Red Hat 6.7 I have a service that is configured with the Linux init system to start a process as a service when the machine boots. This was done by doing this one-time ...
11
votes
1answer
16k views

what is the canonical way to start a daemon in rhel/centos-6 init script?

I found lots of good documentation for ubuntu's start-stop-daemon and there is a man page for a binary daemon. But from what I can tell the canonical way to start a daemon in a rhel/centos script is ...
4
votes
2answers
5k views

How to disable ctrl-alt-del and /etc/init/control-alt-del.conf in Linux?

My OS is RHEL 6.2 I disable Ctrl+Alt+Del by changing in /etc/init/control-alt-del.conf the line exec /sbin/shutdown -r now "Control-alt-del pressed" by exec /bin/true I'll be testing it next ...
0
votes
1answer
246 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 ...
1
vote
0answers
50 views

(nologin) root and id X re-spawning

Today I faced a strange issue on one of the test server. Server was set to Runlevel 5. But it didnt work and system changed to runlevel 3. It was showing "init: Id "x" respawning too fast: disabled ...
4
votes
2answers
1k views

When running to a run level does it execute previous run levels?

If I tell my system to go to run level 3 does that mean that it first runs through run level 0, 1, 2, and then finally runs through run level 3? I thought the answer to this question was yes. But ...