Ability to use password file from some other installation

Bug #16169 reported by Jaap Haitsma
10
Affects Status Importance Assigned to Milestone
migration-assistant (Baltix)
New
Undecided
Unassigned
migration-assistant (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Would be nice if the installer was able to keep home directories and the passwd
file.

Changing to Ubuntu from another distro is then very easy

Revision history for this message
Colin Watson (cjwatson) wrote :

You can already keep home directories by choosing to mount an existing /home
partition and keep existing data on it.

Passwords are a difficult question. It's not entirely clear to me that it makes
sense to do this; there are a *lot* of edge cases involved.

Revision history for this message
Jaap Haitsma (jaap) wrote :

The idea was more that if the home directory is on the same partition as the
root directory (so everything on one partition) of let's say your fedora
installation that you can just install ubuntu over fedora and that you keep your
files in the home directory and also keep your passwords and maybe some other
settings

Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

Calling this one "confirmed", in that the wished-for behaviour doesn't happen.

It's an interesting idea... we could keep a copy of the old /etc/passwd and /etc/shadow, and then add real users (i.e. users with home directories) to the new system, keeping their existing password.

Changed in debian-installer:
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Seems like possibly a migration-assistant kind of thing, although m-a can generally only cope with migrating from partitions that you aren't about to erase. That said, I can't remember enough about its internals - would passwords be an exception to this general rule?

Changed in debian-installer:
assignee: kamion → nobody
Revision history for this message
Evan (ev) wrote :

It could preseed the password data, which imho, would make the most sense as adding it as a checkbox would conflict with the password and password confirmation input boxes in the form.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.