Unix Technical Forum

slackware 10 login problems

This is a discussion on slackware 10 login problems within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi I have just installed slackware 10, set up a root password, however when I come to login it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:02 PM
PAUL SUTTON
 
Posts: n/a
Default slackware 10 login problems

Hi

I have just installed slackware 10, set up a root password, however
when I come to login it won't accecpt it, I know I have typed the
correct password in.

To attempt to rectify this, I booted off the install cd' and instead of
typing setup, I mounted /dev/hda1, and entered passwd, and it asked
for a new password, and for me to retype which I did, I then rebooted
and still can't login.

What have I done wrong.

--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:02 PM
Nick
 
Posts: n/a
Default Re: slackware 10 login problems

PAUL SUTTON wrote:

> Hi
>
> I have just installed slackware 10, set up a root password, however
> when I come to login it won't accecpt it, I know I have typed the
> correct password in.
>
> To attempt to rectify this, I booted off the install cd' and instead of
> typing setup, I mounted /dev/hda1, and entered passwd, and it asked
> for a new password, and for me to retype which I did, I then rebooted
> and still can't login.
>
> What have I done wrong.
>
> --


You don't need to boot off CD. Just reboot and at the lilo prompt, type
'linux single'. It will boot minimum and you will be root! Now just reset
password:

# passwd <mypassword>

Then reboot - # reboot

Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:02 PM
+Alan Hicks+
 
Posts: n/a
Default Re: slackware 10 login problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Nick dared to utter,
> You don't need to boot off CD. Just reboot and at the lilo prompt, type
> 'linux single'. It will boot minimum and you will be root!


Check your facts. This ain't Red Hat. When you boot to single user mode
in Slackware, you still have to enter that root password to log in.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBLeHglKR45I6cfKARAp0wAJ4ouyTjS/i+HcKIc00h+3mSwnm82gCgsaC/
lPuKuB4f4+tJYMXakqrb5Ts=
=0pwF
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:02 PM
Nick
 
Posts: n/a
Default Re: slackware 10 login problems

+Alan Hicks+ wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> In alt.os.linux.slackware, Nick dared to utter,
>> You don't need to boot off CD. Just reboot and at the lilo prompt, type
>> 'linux single'. It will boot minimum and you will be root!

>
> Check your facts. This ain't Red Hat. When you boot to single user mode
> in Slackware, you still have to enter that root password to log in.


Ummm. I didn't think to check - I just fired up my laptop and looked.

So what point is that then? If anybody has access to console, they can boot
up knoppix or whatever and get in anyway?

Nick

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 03:02 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: slackware 10 login problems

Nick wrote:

> So what point is that then? If anybody has access to console, they can
> boot up knoppix or whatever and get in anyway?


his point was that your advice was invalid. a working solution would be to
use 'Linux init=/bin/bash' for example.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:02 PM
Nick
 
Posts: n/a
Default Re: slackware 10 login problems

Dominik L.. Borkowski wrote:

> Nick wrote:
>
>> So what point is that then? If anybody has access to console, they can
>> boot up knoppix or whatever and get in anyway?

>
> his point was that your advice was invalid. a working solution would be to
> use 'Linux init=/bin/bash' for example.


Well yes, but then why not just suggest the solution to the guy?

I *didn't* check (the thought never crossed my mind) 'linux single' on
Slackware 10 still prompts for root password - so my bad. But moaning at
me doesn't help the guy out.

Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 03:02 PM
PAUL SUTTON
 
Posts: n/a
Default Re: slackware 10 login problems

Nick wrote:
> Dominik L.. Borkowski wrote:
>


Thanks I'll try that, what file system do you recommend, i am using
reiser, but perhaps I should use ext2 or ext3.

paul

>
>>Nick wrote:
>>
>>
>>>So what point is that then? If anybody has access to console, they can
>>>boot up knoppix or whatever and get in anyway?

>>
>>his point was that your advice was invalid. a working solution would be to
>>use 'Linux init=/bin/bash' for example.

>
>
> Well yes, but then why not just suggest the solution to the guy?
>
> I *didn't* check (the thought never crossed my mind) 'linux single' on
> Slackware 10 still prompts for root password - so my bad. But moaning at
> me doesn't help the guy out.
>
> Nick

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 03:02 PM
HJohnson
 
Posts: n/a
Default Re: slackware 10 login problems

PAUL SUTTON wrote:
> Hi
>
> I have just installed slackware 10, set up a root password, however
> when I come to login it won't accecpt it, I know I have typed the
> correct password in.
>
> To attempt to rectify this, I booted off the install cd' and instead of
> typing setup, I mounted /dev/hda1, and entered passwd, and it asked
> for a new password, and for me to retype which I did, I then rebooted
> and still can't login.
>
> What have I done wrong.
>


OK, after looking at the discussions on this topic, it seems no one gave
you decent advice on how to get into your system. I have been there and
done that a few times (mostly other people's systems.) Here is a simple
means of fixing your login problem.

1. Boot off of the Slackare install CD
2. Mount your Linux HD partition that has the /etc.
3. cd to <mount point>/etc directory
4. using the vi command (stripped down version of elvis), edit the
passwd file. You should see something like:

root:x:0:0::/root:/bin/bash

delete the 'x' character, right after the first colon, thusly

root::0:0::/root:/bin/bash

5. Remove the CD and reboot.
6. At the login prompt, enter 'root' but do not enter a passwd, if
prompted, just hit enter.

Once in, set the password for root, by invoking 'passwd'



--

humjohn AT aerosurf DOT net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 03:02 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: slackware 10 login problems

PAUL SUTTON wrote:

> Thanks I'll try that, what file system do you recommend, i am using
> reiser, but perhaps I should use ext2 or ext3.


Personally I'd suggest sticking to reiserfs, but that's just me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 03:03 PM
+Alan Hicks+
 
Posts: n/a
Default Re: slackware 10 login problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Nick dared to utter,
> Well yes, but then why not just suggest the solution to the guy?


1) Some one else had already offered a valid suggestion.
2) I was steering him away from your incorrect advice.
3) To teach you to check something before assuming it to be true across
distributions.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBLj5glKR45I6cfKARAqnTAKCAyEqocvDUTv4/M4akqAQq3xZlyQCfewp/
OmcFfSV2CzFHKzUfCsb1Bj4=
=Z6TH
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com