TurnKey Linux Virtual Appliance Library

Configuration Console

What is the command to get back to the configuration console after dropping to the command prompt? Sorry if this is posted or documented elsewhere, I couldn't find it. Thanks
Jeremy's picture

Yeah its here somewhere but ...

Off the top of my head its something like:

/usr/bin/confconsole

Hopefully thats it!

That was it

Thank You


command line still logged in

I tried this, (I found that just typing confconsole at the prompt was enough to return to the configuration console), but the next time I quit the console I noticed the command line was still logged in behind the console. This isn't great, as I had logged in as root; I'd prefer it to ask me to log in again.

Try the following instead:

# confconsole; exit;

Of course this means confconsole would be run as root, which may or may not be secure? (Does it run as root by default already?) But at least when you quit the console you're prompted to log in again.

Jeremy's picture

Yes quite a good point

And thanks for supplying that command. Although if you want complete security for your machine, best way to go is have it physically locked up and access via SSH. Then as soon as you shut the terminal, you need your password to log back in anyway.

As has been discussed elsewhere before, unless you are stopping physical access, by locking the PC you are only stopping fiddlers not anyone who seriously wants to get into your system. If someone has physical access to a machine, then within minutes the root password can be reset and the new user can lock you out and take complete control (until you can get physical access and undo what they've done).

PS ConfConsole runs as root by default AFAIK - otherwise you'd need to enter the root password to change networking settings. In fact with TKL root is the only account enabled for login IIRC.

confconsole on xen

Hi I am using xen virtualization and there are some problems to get serial console working with ubuntu, is there a way to run confconsole so it only allows to install the application and doesn't touch network settings, i.e so I can run it over ssh. the default mode disconects ssh when network setup is performed.

Jeremy's picture

Do you mean di-live?

Confconsole doesn't run until install is finished (after you reboot the system) and doesn't have anything to do with installation (application or otherwise). Even then it doesn't run until the firstboot scripts have finished. And it should run fine over SSH although by default TKL/confconsole uses DHCP to get an IP address.

So I'm guessing what you are really after is a way to pre-seed a static IP? TBH I'm sure it's possible, but I don't know how...

As a (not very pretty) workaround you could temporarily limit the range of your DHCP server to only one IP (the one you want to use as a static IP) then log in via SSH, startup confconsole, set the IP to static IP and reset your DHCP back to what it was.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)