Enhancement #1655
Feature #1660: Migrate NethService to NethServer
Users and groups migration script
Status: | CLOSED | Start date: | 02/13/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 02/14/2013 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-directory | |||
Target version: | v6.4-alpha2 | |||
Resolution: | NEEDINFO: |
Description
Implement an action that migrates users and groups from a NethService backup directory into the accounts
database.
Related issues
Associated revisions
nethserver-directory-migrate action: import users, passwords, home directories and groups from NethService directory structure. Refs #1655
migration-import event: added nethserver-directory-migrate action. Refs #1655
nethserver-directory-migrate action: perl uses strict! Refs #1655
NethServer::Migrate perl module: created with migrateDir() function from nethserver-directory package. Refs #1655
nethserver-migrate-directory action: moved migrateDir() function in nethserver-lib package. Refs #1655
nethserver-directory-migrate action: remove trailing newline that invalidates password hashes. Refs #1655
nethserver-directory-migrate action: migrate root's and admin's data. Refs #1655
nethserver-directory-migrate action: fixed strftime() syntax call. Refs #1655
nethserver-directory-migrate action: root's home migration is performed by nethserver-base package. Refs #1655
nethserver-directory-migrate action: honour user's PasswordSet prop. Refs #1655
History
#1 Updated by Davide Principi over 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 20 to 100
#2 Updated by Davide Principi over 8 years ago
- Tracker changed from Feature to Enhancement
- Parent task set to #1660
#3 Updated by Davide Principi over 8 years ago
- Status changed from MODIFIED to ON_DEV
- % Done changed from 100 to 90
Migrate admin's home directory files under ~admin/
or similar..
#4 Updated by Davide Principi over 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 90 to 100
Admin's home and root's home are migrated following these rules:
/home/e-smith/files/users/admin => /var/lib/nethserver/migration/admin /root => /var/lib/nethserver/migration/root
Two symlinks are set under /root
:
/root/root-migration-YYYYmmDDHHMMSS => ../var/lib/nethserver/migration/root /root/admin-migration-YYYYmmDDHHMMSS => ../var/lib/nethserver/migration/admin
#5 Updated by Davide Principi over 8 years ago
- Status changed from MODIFIED to ON_DEV
- % Done changed from 100 to 80
- Estimated time changed from 4.00 to 6.00
TODO:
honour locked password => locked account setting
#6 Updated by Davide Principi over 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 80 to 100
if PasswordSet=no
user account is left in new
state.
#7 Updated by Davide Principi over 8 years ago
- Status changed from MODIFIED to CLOSED
#8 Updated by Davide Principi over 8 years ago
State set to closed
on NethServer 6.4 alpha2 release