Opened 9 years ago

Closed 9 years ago

Last modified 20 months ago

#6678 closed defect (fixed)

root password not set on school server install

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


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 (7)

comment:1 Changed 9 years ago by martin.langhoff

  • Milestone changed from Never Assigned to xs-0.2
  • Owner changed from wad to martin.langhoff

comment:2 Changed 9 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(!).

comment:3 Changed 9 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.

comment:4 Changed 9 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.

comment:5 Changed 9 years ago by martinlanghoff

  • Action Needed set to never set

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

comment:6 Changed 9 years ago by martin.langhoff

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in OLPC_XS_164

comment:7 Changed 20 months ago by Quozl

  • Milestone xs-0.3 deleted

Milestone xs-0.3 deleted

Note: See TracTickets for help on using tickets.