I am having a very big problem and that is, whenever I add a new user (via command line with adduser krishna
command) the user is created but it's home folder or it's own private folder isn't created but some times it works (tried 15 times worked 3 times) so please can anyone help me out. One more thing it creates the user account but doesn't create it's folder, please help me am a newbie in Ubuntu.
Output:- Nothing just the newline & waiting for the next command..When it didn't create any folder, but when the folder was too created, it asked for unix password, retype password, full name, work, and 2 more options.
useradd username
will not create a homedir by default, and will not output anything; just create the user.adduser username
will ask you questions about the new user, such as the real name, what password to set etc. Make sure you useadduser
, notuseradd
.