Re: create user home dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcel Janssen wrote:

Hi,

I've created a user on my system without creating a home dir for this user a while ago. Now I'd to add the home dir for thi suser and thought usermod could do that for me.
I issue :

usermod -d /home/user1 -m user1

Hi,

Try copying /etc/skel like this :

cp  /etc/skel /home/user1 -R
chown user1: /home/user1 -R

--
Bogdan-Stefan Rotariu
Senior Network Administrator
Alterox Sistem, Suceava
+40740315301
+40330101033 (Data center Phone)
+40330101001 (Office Phone)


---
This message was scanned for spam and viruses by Alterox mail server.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux