Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My dedicated provider did the following:

wget S03HvTechAccess > /dev/null 2>&1
mv S03HvTechAccess /etc/rc3.d/ > /dev/null 2>&1
chmod 755 /etc/rc3.d/S03HvTechAccess > /dev/null 2>&1

and it shows:

/usr/bin/openvt -c 8 /bin/bash

What is openvt? It mentions you can login without a password. How does that work in terms of how do you connect to it?

share|improve this question

2 Answers 2

This command starts a root shell on the physical console of the server. There can be multiple virtual console sessions on the physical console - this uses virtual console number 8 (that's the "-c 8"). Because this is just a shell, rather than a login process, if someone has physical access to the console they get root access without needing a password.

share|improve this answer

openvt starts a command on a new virtual console. The command will use the STDIN, STDOUT and STDERR from the new virtual console.

share|improve this answer
    
A virtual console isn't a pty, is it? –  Hauke Laging Feb 13 '13 at 22:09
    
Yes, Linux virtual console has is mapped to a pty device. It is the one that you can see on the physical server by pressing ALT+F1... or CTRL+ALT+F1... when in X. –  Mircea Vutcovici Feb 13 '13 at 22:32
    
Have a look at /dev/pts. There are no mapped ptys for /dev/vcs[1-6]. There are technical differences. Thus AFAIK vcs are not called ptys. –  Hauke Laging Feb 13 '13 at 22:39

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.