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

Re: create user home dir



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.


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