terminal-quest icon indicating copy to clipboard operation
terminal-quest copied to clipboard

Sudo intro needs to inform about hard-coded password

Open marconi opened this issue 7 years ago • 0 comments

My son has been having a blast until we got to sudo introduction around challenge 45. We kept entering his password but kept getting rejected. So I thought he might have mis-typed his password when he signed-up when setting up his Kano.

So I had to do some research and hack just to reset his password to make sure its the right one. But even after this, we still kept getting invalid password attempts. Naturally I had to look at the source and found this.

It would be nice to make this more obvious somewhere, could save some kids and parent's time. ;)

Bonus:

For a long term solution though, I'd imagine this would proxy to a real OS call to at least validate that the entered password matches the system user's password.

marconi avatar Dec 29 '17 10:12 marconi