WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] illegal root login on `hvc0'
From: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>
Date: Tue, 04 May 2010 15:53:27 +0200
Delivery-date: Tue, 04 May 2010 07:50:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a70bb0d0baf71ee05a35e416a405642b.squirrel@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <a70bb0d0baf71ee05a35e416a405642b.squirrel@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100413 Shredder/3.0.4
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

<Prev in Thread] Current Thread [Next in Thread>