Re: [Evolution] Passwords
- From: Ralf Mardorf <silver bullet zoho com>
- To: evolution-list gnome org
- Subject: Re: [Evolution] Passwords
- Date: Mon, 09 Apr 2018 09:15:51 +0200
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]