Ticket #6678 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

root password not set on school server install

Reported by: wad Owned by: martin.langhoff
Priority: high Milestone: xs-0.3
Component: school server Version:
Keywords: schoolserver, livecd Cc: dgilmore
Action Needed: never set Verified: yes
Deployments affected: Blocked By:
Blocking:

Description

With current livecd builds, the root password which the user is prompted for is only set on the "then running"livecd image. Once rebooted into running the installed image, no root password is set!

Change History

Changed 7 years ago by martin.langhoff

  • owner changed from wad to martin.langhoff
  • milestone changed from Never Assigned to xs-0.2

Changed 7 years ago by martin.langhoff

Looks like we are overwriting password and shadow with our own. Not only root has no password, but we also drop in several user accts with shadow passwords(!).

Changed 7 years ago by martin.langhoff

Ok. The xs-config package seems to contain a prefabricated /etc/passwd and /etc/shadow. With changes to xs-config I am at least getting a clean passwd and shadow pair that don't contain bogus accounts. They still overwrite the root acct. This should be easy to resolve, copying /etc/shadow from the livecd image.

Still, passwd and shadow are statically precompiled inside xs-config. That's not what I was expecting.

Changed 7 years ago by wad

That was one of those things that needed cleaning up. While we are having confessions, the image built by xs-config and xs-pkgs is a mirror of a school server build which was built, duplicated and customized for early trials. I was going to prune the xs-pkgs tree, but it was never more important than other tasks. The password file (and sudoers, while you are at it) is another.

These have been very convenient over the past eight months, but it is time to replace them with the discussed admin password scheme.

In images built using the original F7 LiveCD and anaconda tools, the root password on the disk image was modified (after installing xs-config's version). This behavior changed when I upgraded to the F7 update.

Changed 6 years ago by martinlanghoff

  • next_action set to never set

This has been fixed for a while - will close this bug with the next image upload.

Changed 6 years ago by martin.langhoff

  • status changed from new to closed
  • resolution set to fixed

Fixed in OLPC_XS_164

Note: See TracTickets for help on using tickets.