[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] illegal root login on `hvc0'



Hi Christian,

/etc/securetty must contain hvc0 - this ist not the default on most systems.

This file defines all consoles where root login is allowed.

Regards,
Felix

Am 29.04.2010 18:21, schrieb Christian Gonzalez:
> Hi,
>
> I'm running Xen 4 on Slack64. I haven't console login prompt to domU until
> I changed xvc0 to hvc0 on /etc/inittab file. No I have access to login but
> whenever I try to login I get this error from /var/adm/secure file
>
> root@darkstar:/var/adm# cat secure
> Apr 28 22:49:22 darkstar login[1286]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 22:49:45 darkstar last message repeated 2 times
> Apr 28 23:04:51 darkstar login[1288]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:05:01 darkstar login[1288]: invalid password for `UNKNOWN'  on
> `hvc0'
> Apr 28 23:05:09 darkstar login[1288]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:05:24 darkstar login[1288]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:06:48 darkstar login[1304]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:06:57 darkstar login[1304]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:07:18 darkstar passwd[1320]: password for `root' changed by `root'
> Apr 28 23:07:38 darkstar login[1321]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 28 23:08:02 darkstar login[1321]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 29 00:01:38 darkstar login[1338]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 29 00:01:59 darkstar login[1338]: ILLEGAL ROOT LOGIN  on `hvc0'
> Apr 29 00:02:44 darkstar login[1359]: ILLEGAL ROOT LOGIN  on `hvc0'
> root@darkstar:/var/adm#
>
>
> This is part of domU's inittab file
>
> # These are the standard console login getties in multiuser mode:
> c1:1235:respawn:/sbin/agetty 38400 tty1 linux
> c2:1235:respawn:/sbin/agetty 38400 tty2 linux
> c3:1235:respawn:/sbin/agetty 38400 tty3 linux
> c4:1235:respawn:/sbin/agetty 38400 tty4 linux
> c5:1235:respawn:/sbin/agetty 38400 tty5 linux
> c6:12345:respawn:/sbin/agetty 38400 tty6 linux
>
> # End of /etc/inittab
> hvc0:1235:respawn:/sbin/agetty 38400 hvc0
>
> I'm able to log using ssh but not through console. What am I missing?
>
>
> Thanks in advance.
>
>
> Christian
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>   

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.