Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 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
    
why not? after logging in with my normal user, I use su (since I'm in wheel group I am able to do so...) –  Eran Nov 22 '12 at 17:15

Your Answer

 
discard

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.