Forum: 

Configuration Console

David Everitt's picture
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 Davis's picture

Off the top of my head its something like:

/usr/bin/confconsole

Hopefully thats it!

David Everitt's picture

Thank You


Darren Cook's picture

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 Davis's picture

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.

Paul's picture

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 Davis's picture

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