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@lists.xensource.com http://lists.xensource.com/xen-users
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. Now I have access to login but whenever I try to login onto the system, it don''n let me in. I can access it using ssh, though. 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@lists.xensource.com http://lists.xensource.com/xen-users
do you have hvc0 included in /etc/securetty I don''t know about slack64 but it is required on redhat. Steve On Thu, 29 Apr 2010, Christian Gonzalez wrote:> 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. Now I have access to login but > whenever I try to login onto the system, it don''n let me in. I can > access it using ssh, though. 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 >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Try to add the "hvc0" to the file /etc/securetty. On 29 April 2010 16:36, Christian Gonzalez <zulsolar@gmail.com> wrote:> 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. Now I have access to login but > whenever I try to login onto the system, it don''n let me in. I can access it using ssh, though. 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2010/4/29 Martinx - ジェームズ <thiagocmartinsc@gmail.com>> Try to add the "hvc0" to the file /etc/securetty. > > >It worked! Thanks to all who helped me on this. And very quick indeed. Three answers in less than 20 minutes, amazing! Regards. Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
That''s the power of an Internet community! [?] Cheers! Thiago On 29 April 2010 19:00, Christian Gonzalez <zulsolar@gmail.com> wrote:> > > 2010/4/29 Martinx - ジェА璽爛 <thiagocmartinsc@gmail.com> > > Try to add the "hvc0" to the file /etc/securetty. >> >> >> > It worked! Thanks to all who helped me on this. And very quick indeed. > Three answers in less than 20 minutes, amazing! > > Regards. > Christian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> # 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? >An entry in /etc/securetty perhaps? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think you need to add hvc0 to /etc/securretty On 29 April 2010 17:21, Christian Gonzalez <chris@chf.info.tm> wrote:> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<chris@computersalat.de>
2010-May-04 13:33 UTC
Re: [Xen-users] illegal root login on `hvc0''
On Thu, 29 Apr 2010 13:21:14 -0300 (ART), "Christian Gonzalez" <chris@chf.info.tm> wrote:> # 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?[ -f /etc/securetty ] && echo hvc0 >> /etc/securetty;> > > Thanks in advance. > > > ChristianRegards Christian> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users