Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to logout previous logged-in root sessions, and stupidly, I typed skill -STOP -u root

Now, I can't ssh back into the server. How do I recover?

share|improve this question
Call the datacenter support, probably? – xmm0 Jan 30 '10 at 18:50
If there is no non-root process from which you can su then the sure way would be to reboot the machine. – che Jan 30 '10 at 18:52
I suggest you reboot and watch console. I've often configured servers with a serial connection and a non-root login that I know i can su from. I also give root login permissions to /dev/ttyS1, in case something removed the alternate account. – memnoch_proxy Jan 31 '10 at 6:11
up vote 3 down vote accepted

If this is a physical box then you'll need some form of lights-out or a nice person to bounce it face-to-face.

If it's virtual then you or someone else needs to deal with it via whatever management console you or they have.

share|improve this answer

If you were lucky enough to already be logged in (not as root), you could sudo or su and make it right. Otherwise, you are S.O.L. without a reset switch.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.