Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 09, 2007 10:37 am 
Offline
Senior Newbie

Joined: Fri Sep 30, 2005 6:19 pm
Posts: 13
I've installed a Slackware 12.0 distribution. When I boot, things look OK in the lish window and I get a login prompt.

However, when I try to log in as root (using the password I set up in the distribution page of Dashboard), I'm denied access with 'Login incorrect'.

I tweaked my configs and rebooted my old system and then mounted the Slackware 12.0 disk and poked around. Lo and behold, the Slackware 12's /etc/shadow is writable by other! No wonder login wasn't letting me log in. In the 12's /var/log/secure were entries like:
Aug 9 10:17:05 liX-X login[874]: ILLEGAL ROOT LOGIN on `tty0'
Aug 9 10:17:11 liX-X login[874]: invalid password for `root' on `tty0'
Aug 9 10:17:17 liX-X login[874]: ILLEGAL ROOT LOGIN on `tty0'

I fixed the permissions on /etc/shadow and rebooted the 12 distro; but I'm still unable to log in....
Aug 9 10:32:05 liX-X login[871]: ILLEGAL ROOT LOGIN on `tty0'
Aug 9 10:32:12 liX-X login[871]: ILLEGAL ROOT LOGIN on `tty0'

Anyone know what's going on?

-C


Top
   
 Post subject:
PostPosted: Fri Aug 10, 2007 3:56 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
The shadow file permission setting is obviously wrong, and we'll get that fixed. But, just so you know, the first user you add those permissions will be repaired automagically.

I think you need to add tty0 to /etc/securetty. This was reported to us a few days ago; we'll get that fixed as well.

Thanks,
-Chris


Top
   
 Post subject: Problems resolved
PostPosted: Fri Aug 24, 2007 4:21 pm 
Offline
Senior Newbie

Joined: Fri Sep 30, 2005 6:19 pm
Posts: 13
The Slackware 12.0 distro has been quietly repaired, both the shadow problem and the securetty problem. Thank you!

FYI, the distro contains some packages that can't really be used in the linode UML environment:
    dhcp
    kernel-huge
    kernel-modules
    kernel-modules-smp
    lilo
    module-init-tools
You can save quite a bit of space by removing these. Perhaps Caker could remove them from the distro.

And, to fix the curl problem, http://www.linode.com/forums/viewtopic.php?t=2827, this package should be included in the distro:
    libidn
or perhaps curl should be removed from the linode distro...

Thanks again,
-C


Top
   
 Post subject: not quite
PostPosted: Mon Aug 27, 2007 10:24 am 
Offline
Senior Newbie

Joined: Fri Sep 30, 2005 6:19 pm
Posts: 13
I was mistaken about the shadow file being fixed. At present, in the Slackware 12.0 distibution, the /etc/shadow file is world-writable (until useradd is run...).

-C


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group