I am migrating from an old Ubuntu 10.04 server to a different machine, upgrading to 14.04 at the same time.
One of my tasks is to migrate the users, so I have exported a list of users with UID > 1000 on the old machine and then appended that list to the list on the new machine
cat userlist >> /etc/passwd
Same for /etc/shadow.
I noticed a few users that were probably not created manually but are the result of the installation of a program. In my case, these users are vmail and spamd.
Now I wonder, whether importing those users before installing the program may cause any issues. Should I
- install
dovecotandspamassassinfirst, then import the users, check the result withpwckand delete the duplicate - import the users, then install
dovecotandspamassassinas it will reuse the existing user and not cause issues - something completely different
newusersneeds plain text passwords, but I only have encrypted passwords from /etc/shadow – Thomas Weller Jan 09 '16 at 21:02