Article 6JQJE Directory for new user not created

Directory for new user not created

by
coltson
from LinuxQuestions.org on (#6JQJE)
Hi. When I add a new user, I also try to add a new home dir for it in /home. I use: Code:sudo useradd -s /bin/bash -g clfs -d /home/clfs clfsHowever a clfs dir is not created in /home. Giving a look in /etc/passwd, I have this line:
Code:clfs:x:1001:1001::/home/clfs:/bin/bashSo what is going wrong here?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments