migrate passwd entry