View previous topic :: View next topic |
Author |
Message |
ryo- n00b
Joined: 17 Mar 2003 Posts: 2
|
Posted: Mon Mar 17, 2003 7:23 pm Post subject: a strange passwd problem with 1.4_rc3 for x86 |
|
|
Hi all,
Since last friday, this is my third attempt to install gentoo 1.4_rc 3 (x86). I started last friday with the stage 3 tarball (from the ISO image). Everything was ok excepted that when I restart the comp (2 PIII 700Mhz, 512MB, 20GB IDE, CDROM), I wasn't able to login on it after all the step including the LILO install.
The second time, I installed again from stage 3, running before a sshd deamon, but my OpenBSD ssh doesn't want to speak to the gento sshd so I had to use putty and I can't follow the installation as it said remotely that it couldn't find the "emerge", probably because of the distinct chroot.
But now, let's come to the real problem. I installed today Gentoo from the stage 1. Everything was ok for the stage 1, then to the stage 2, and a lot of things of the stage 3 when I wanted to change the root password. The passwd command worked fine but when I tried to use the login on the second console (Alt+F2), it never wanted to log me, saying the login is incorrect.
By the way, I created a second user on the box, using adduser, useradd, changing the password with passwd, or with useradd -p <password>. Everytime, everything seems to be ok. But I wasn't able to connect on the console with always the same error: "login incorrect".
As I'm root, I went into the /etc/shadow and see that the password of the second user was in clear! Ok it's rw only for root. But I think there is a real problem! As I said, all the stage 1, 2 and 3 up to the "passwd" suggestion for root worked perfectly.
I'm quite stopped by now, is there someone with some ideas to prevent it and to go up to the last steps? I don't want to use one day again to pass all the stages! Perhaps I missed something but I don't see what.
Thanks in advance,
ryo- |
|
Back to top |
|
|
Woland Apprentice
Joined: 02 Aug 2002 Posts: 248 Location: Russian Jack, Alaska
|
Posted: Mon Mar 17, 2003 7:29 pm Post subject: |
|
|
I am not sure I follow you completely, but does this thread help? |
|
Back to top |
|
|
ryo- n00b
Joined: 17 Mar 2003 Posts: 2
|
Posted: Mon Mar 17, 2003 7:39 pm Post subject: |
|
|
I think it's an issue like that, but I don't want to leave my chrooted session before I complete the installation, as I saw that I can't recovery the chrooted session from a ssh connection before.
Then... what can I do? To complete the installation in my chrooted session, then leave it, and hoping I can change the root password?
Secondly, I can't understand why the /etc/shadow displays the password of this second user in _clear_ form.
Thirdly, I want to understand why the step 19 doesn't work if I'm still in my chrooted session.
Thanks for your prompt answer,
ryo- |
|
Back to top |
|
|
russell n00b
Joined: 02 Mar 2003 Posts: 4 Location: Hornsby, Australia
|
Posted: Mon Mar 17, 2003 9:54 pm Post subject: |
|
|
I'm having the same problem.
I have no problem logging in as root. But when I create a new user account
useradd russell -m -G users,audio,wheel -s /bin/bash -p mypassword
* I can not login to that account.
* I can su to that user, but I can't change the password once there
* Examining the /etc/shadow file shows that the password is NOT encrypted
I'm also installing 1.4-rc3 |
|
Back to top |
|
|
|
|
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
|
|