Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a situation where I need xm console <domID> to drop into a specific user in a CentOS PV VM, say UserB. UserA was the first user created in the VM, and whenever I xm console <domID> I get UserA. I tried deleting UserA but then get the following when I connect:

User not known to the underlying authentication module

How can I change the user which xm console <domID> connects to?

Looking online, most of the serial console tweaks for CentOS are in grub. I'm using the kernel line in the config and therefore am not using grub.

share|improve this question
up vote 1 down vote accepted

I think you must have an autologin set in /etc/inittab

Can you post it here?

share|improve this answer
Good call, I didn't think of inittab. Here's the line: co:2345:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin xvc0 9600 vt100-nav I assume I can drop the autologin and have it yield a login prompt? – BigChief Jul 11 '11 at 11:17
Yep, that did it. Thanks! – BigChief Jul 11 '11 at 11:33

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.