On Mon, 2018-04-09 at 09:06 +0200, Ralf Mardorf wrote:
> "sudo cp -ai /mntpoint_old_drive/home/orignal_user/ /home/new_user"
> "sudo useradd -m -s /bin/bash new_user"
                ^^
               "-m" doesn't make sense, but it doesn't harm ;).

[rocketmouse@archlinux ~]$ man useradd | grep -i "\-m," -A2
       -m, --create-home
           Create the user's home directory if it does not exist. The
files and directories contained in the skeleton directory (which can be
defined with the -k option) will be copied
           to the home directory.
--
       -M, --no-create-home
           Do no create the user's home directory, even if the system
wide setting from /etc/login.defs (CREATE_HOME) is set to yes.

> "sudo chown -R new_user:new_user /home/new_user"

_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to