# What Is "init 1" And How Do I Stop It

**URL:** <https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809>\
**Category:** NGINX\
**Created:** [December 12, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809 "2011-12-12T22:04:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [December 12, 2011, 10:04pm UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809/1 "2011-12-12T22:04:27Z")

</div>

I am a moron.

With that said, I read some google post about trying to get some  
privilege to make things easier or something and I typed “init 1” while  
ssh’d into my nginx server.

now I can’t login at all I get:

EnvyPro: wish$ ssh removed\_email\_address@domain.invalid  
ssh: connect to host [mysuperhost.com](http://mysuperhost.com) port 22: Connection refused

Can someone please help me I am an idiot and I hav eno idea what that  
did or how to fix it. Please just a quick how to fix so I can log back  
into my server and fix this site!

ty in advance if anyone can help.

Posted at Nginx Forum:

> **[What Is "init 1" And How Do I Stop It](https://forum.nginx.org/read.php?2,219967,219967#msg-219967)**
>
> I am a moron. With that said, I read some google post about trying to get some privilege to make things easier or something and I typed "init 1" while ssh'd into my nginx server. now I can't login at all I get: EnvyPro: wish$ ssh...

---

<div class="post-metadata">

**Author:** ![wishkah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/258eb7/32.png) [@wishkah](https://www.ruby-forum.com/u/wishkah)\
**Post date:** [December 12, 2011, 10:23pm UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809/2 "2011-12-12T22:23:39Z")

</div>

init 1 takes the system into single user mode. Typically this means  
services such as sshd will be terminated, and in fact, may terminate all  
networking on some systems.

You’ll have to call your provider and have them restart the system.

Cliff

---

<div class="post-metadata">

**Author:** ![wishkah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/258eb7/32.png) [@wishkah](https://www.ruby-forum.com/u/wishkah)\
**Post date:** [December 14, 2011, 6:49pm UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809/3 "2011-12-14T18:49:24Z")

</div>

Thank you for the quick reply. I rebooted the server and it went back to  
normal. So, if init 1 turns off ssh and ftp and all that what doe init 2  
do? when would init 1 become useful? if you want to lockdown your  
server?

Posted at Nginx Forum:

> **[Re: What Is "init 1" And How Do I Stop It](https://forum.nginx.org/read.php?2,219967,220065#msg-220065)**
>
> I am a moron. With that said, I read some google post about trying to get some privilege to make things easier or something and I typed "init 1" while ssh'd into my nginx server. now I can't login at all I get: EnvyPro: wish$ ssh...

---

<div class="post-metadata">

**Author:** ![wishkah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/258eb7/32.png) [@wishkah](https://www.ruby-forum.com/u/wishkah)\
**Post date:** [December 14, 2011, 6:53pm UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809/4 "2011-12-14T18:53:43Z")

</div>

Hello!

On Wed, Dec 14, 2011 at 12:49:04PM -0500, wishkah wrote:

> Thank you for the quick reply. I rebooted the server and it went back to  
> normal. So, if init 1 turns off ssh and ftp and all that what doe init 2  
> do? when would init 1 become useful? if you want to lockdown your  
> server?

This is not related to nginx. Please find another place to ask.

Maxim D.

---

<div class="post-metadata">

**Author:** ![wishkah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/258eb7/32.png) [@wishkah](https://www.ruby-forum.com/u/wishkah)\
**Post date:** [December 17, 2011, 5:38am UTC](https://www.ruby-forum.com/t/what-is-init-1-and-how-do-i-stop-it/214809/5 "2011-12-17T05:38:26Z")

</div>

On Wed, Dec 14, 2011 at 12:49 PM, wishkah [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thank you for the quick reply. I rebooted the server and it went back to  
> normal. So, if init 1 turns off ssh and ftp and all that what doe init 2  
> do? when would init 1 become useful? if you want to lockdown your  
> server?

Not really the right forum, but - man (8) init.
