Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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 am running a VPS with FreeBSD 8.3-RELEASE-p3

This is my first time using FBSD as a server, and as a newbie 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'?

share|improve this question
up vote 1 down vote accepted

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. :)
share|improve this answer
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
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 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.