I am running a VPS with FreeBSD 8.3-RELEASE-p3

I locked myself out of su by taking my user out of wheel group.

I have disabled the ability to login with 'root' from SSH in order to increase the security level of my server.

I know that someVPS providers provide remote console control service that allows you to see what's going on the screen while booting and everything, but mine doesn't allow that.

Will installing VNC for command-line use only, keep me unworried of making mistakes like taking myself out of 'wheel' and not being able to 'su'?


If you are not root, you will not be able to install VNC, so this will not help.

I think there are only two options

  1. Tell your Provider to log into the system from the console and readd the user to wheel.
  2. Find and exploit to enhance your privileges. :)
  • I didn't explain myself well, I am root, I can install w/e I want. – Eran Nov 16 '12 at 17:52
  • if you are root you can just readd your user to the wheel group – arved Nov 18 '12 at 12:39
  • but I don't have physical access to the box, so if I take myself out of wheel group - I'm locked out. (I've disabled the ability to login with 'root' as username for security measures). – Eran Nov 22 '12 at 15:48
  • so basically you don't have the possibility to execute an installation program as root. – arved Nov 22 '12 at 15:55
  • 1
    tamam, Checkout en.wikipedia.org/wiki/Virtual_Network_Computing#Security It seems the Encryption of VNC is not as good as ssh. So i would suggest to use something else as a fallback. For example a second SSHd with marksanborn.net/linux/… or Google authenticator code.google.com/p/google-authenticator – arved Nov 23 '12 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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