Home_greyopenFATE - openSUSE feature tracking > #305724
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Allow to take over old users by home directory

Feature state

openSUSE-11.2
Rejected Information
openSUSE-11.3
Evaluation By Productmanager

Description

(from bug reporter:)

I have a seperate /home partition and whenever I reinstall/upgrade I just set
up the same user as before and he gets assigned the same uid (1000) so nothing
gets broken.

But I guess with more users and corresponding home directories this aproach
begs for wrong permissions, so I suggest the following:

In case /home isn't empty it could take all directories available and list them
as users to specify their data (Name, login, passwort etc as usual) and then
assign corresponding uid.

References

https://bugzilla.novell.com/show_bug.cgi?id=464238

Discussion


icons/user_comment.png J. E. wrote: (8 years ago)

>whenever I reinstall

Hm, that's something we used to do in the Windows days only...

That said, import-from-homedirs needs to be done carefully (read: an opt-in option), as one may very well want to use an LDAP server instead later in the system configuration.

icons/user_comment.png R. D. wrote: (8 years ago)

Why can't the passwd(5) and group(5) be saved as part of the install into the new /var, and undefined UID & GIDs then be offered?  If the disk was wiped, simply copying backup of old file should suffice to prime this optional feature.

There's more orginal info, than just the $USER, UID, GID info present from naively scanning /home.

icons/user_comment.png M. A. wrote: (7 years ago)

If this can be achieved securely, reliably and without creating a burden then I would very much like to see it.  However I can see problems arising from various configuration files from a previous installation hanging around and fouling up the operation of a newly installed system by refering to files not found in a restructured system directory.

Last change: 4 years ago
Voting
Score: 12
  • Negative: 0
  • Neutral: 5
  • Positive: 12
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint