Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New Install: Can't set root passwd!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Mar 14, 2004 2:48 pm    Post subject: New Install: Can't set root passwd!! Reply with quote

Hello all,
I'm finalizing my install on my Ultra2. I'm at the endpoint to where I need to set a root passwd.

The strangest thing happens. I type in passwd
It prompts me for my new password:
I hit one key, the first letter of my password..and it immediately says:
BAD PASSWORD its way too short

I haven't even hit the enter key at all....its like it is somehow taking the first keypress of my password entry..and doing an enter on its own...

Kind of serious...I DO want to make a good root password...but, with this happening..hell, I don't know WHAT key it is taking. If I press 'e'...it gives the bad password too short msg...and says retype the password. I type 'e' again...and it acts like it accepts it.

Any ideas out there on what to do????
I really don't want to reboot w/o being confident of my root password...
:-)

TIA,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Mar 14, 2004 3:57 pm    Post subject: Reply with quote

cayenne,

Change to another virtual terminal and see if you can log in with your new root password. At least you wiil find out if it will be safe to reboot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Mar 14, 2004 4:08 pm    Post subject: but... Reply with quote

NeddySeagoon wrote:
cayenne,

Change to another virtual terminal and see if you can log in with your new root password. At least you wiil find out if it will be safe to reboot.


I'm still in my chrooted environment on the 1st terminal...

I just tried this, I got on another term session...which is the livecd one...I chrooted into /mnt/gentoo...and tried the passwd there...it seemed to work normally and take a whole password there.

I'm hoping this will work? I'm not too familiar with how chroot works...would one session work while the other (original one) is open?

Thank you,
cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Mar 14, 2004 4:18 pm    Post subject: Reply with quote

Which LiveCD did you use to install?
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Mar 14, 2004 4:26 pm    Post subject: Sparc64 Reply with quote

Weeve wrote:
Which LiveCD did you use to install?


I installed from the gentoo 206.00 LiveCD.

I went ahead and chrooted from another term...did the passwd for root, and useradd for my normal username.

I went back to the original term session...cat'ed the passwd and group files..and my new user was there...so, I assumed it all went well.

Now, I'm at the point of where I rebooted.....took the LiveCD out.

It boots up to the Sun init screen...says SILO Boot:

Remapping the kernel...done.
Booting Linux....

And it just hangs there...not going any further.

EDIT: Oh yes...I did the kernel version 2.6.4-rc2

After stripping the kernel..it was at 3.3 M, which according to the manual, should be under the 3.5 limit for sparc 64...yes?

Any ideas here?

Thanks,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Mar 14, 2004 5:12 pm    Post subject: Reply with quote

Which stage did you start with?
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Sun Mar 14, 2004 6:26 pm    Post subject: stage 1 Reply with quote

Weeve wrote:
Which stage did you start with?


Started at stage 1
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Mon Mar 15, 2004 1:17 pm    Post subject: passwd oddness during install Reply with quote

Just reading your notes, this has been bugged

https://bugs.gentoo.org/show_bug.cgi?id=40633

I have seen this behavior twice during SPARC64 installs and another guy here has seen it also.

As far as your issue for rebooting, based on my experience, if it accepted a one letter password then the same password will work on reboot. Once rebooted passwd works as expected

Rick
Gentoo Sparc64 on Ultra10
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Tue Mar 16, 2004 4:14 am    Post subject: Reply with quote

Were you using screen when doing the install?
Back to top
View user's profile Send private message
rsborn
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2004
Posts: 105
Location: Webster, NY

PostPosted: Wed Mar 17, 2004 3:14 pm    Post subject: Reply with quote

Weeve wrote:
Were you using screen when doing the install?


Not sue if you are asking me on the original poster, also not really sure what you mean by "Screen" but if you mean was I installing from the local console with a keyboard attached directly to the computer then yes I was :D

I have an Ultra 10
440 Mhz
256 meg of ram
type 6 keyboard
"Crossbow" model mouse
Sun Monitor hooked through VGA to 13W3 adapter to 13W3 framebuffer

Rick
Back to top
View user's profile Send private message
Pcassimans
n00b
n00b


Joined: 08 Dec 2003
Posts: 32
Location: Brussels

PostPosted: Wed Mar 17, 2004 8:51 pm    Post subject: Reply with quote

i had the same problem with my install. I did my install with a serial console. After i rebooted the fresh system, there was no problem to change the password.

Just reboot the system and change your password after first login.
_________________
Khammi

"It said Windows 95 or better, i tried Linux!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum