dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

passwd utility doesn't accept input in crosh window for trusty distro #877

Closed binaryphile closed 10 years ago

binaryphile commented 10 years ago

I tried installing trusty under crouton today on my acer c720. I have saucy installed and have had others installed as well.

When the setup process asked for a user account and password, the passwd utility prompt kicked me out when I attempted to enter input. Opening the chroot and running the passwd utility directly gave me the same result. I'm unable to enter a valid password for my account, so I can't do anything sudo-related.

dannyfritz commented 10 years ago

I have this problem sometimes too. Not sure what causes it, but I just keep retrying until it works.

binaryphile commented 10 years ago

Closing and reopening the window solved the rejection issue, but the password was already set to something unknown so I had to delete the chroot and reinstall. Worked the second time. Thanks for the pointer.

drinkcat commented 10 years ago

If it ever happens again:

DennisLfromGA commented 10 years ago

Ted, just for future reference, you can enter your chroot as root and reset your user password. Just specify '-u root' on the enter-chroot command line, something like this -

sudo enter-chroot [-n chrootname] -u root

On Mon, Jun 9, 2014 at 1:20 AM, drinkcat notifications@github.com wrote:

If it ever happens again:

  • Try reset to reset the terminal (instead of closing/reopening)
  • You can always enter the chroot as root (enter-chroot -u 0), and reset the user password from there (passwd user)

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/877#issuecomment-45461954.

DennyL@GMail

dannyfritz commented 10 years ago

Thanks for the tips @drinkcat and @DennisLfromGA. :thumbsup: