I am facing a bizarre problem recently in Ubuntu 12.04 while adding a new user. User adding command such as
useradd -d /home/username -s /bin/bash -m username in the terminal only creates a
example-ubuntu folder in the user's home but not the
Downloads, Documents, Pictures, Music, etc.
Note that just before this, I had a problem with "login" probably due to interrupted ubuntu updating. So, I fixed the problem by:
- re-installing "ubuntu-desktop"
- re-configuring "lightdm"
- installing "unity and unity-2d" by searching Ubuntu blogs. Now login problem is fixed, but useradd is not.
So, I would really appreciate any help in this matter if anyone knows.