After Gentoo installation when I login as a root user I doesn't find the default home directory in it in my root user and in the normal user account.
Code: Select all
gentoopc ~ #ls -al
total 36
drw ------ 2 root root 4096 Oct 13 21:32 .
drwxr-xr-x 21 root root 4096 Oct 5 19:55 ..
-rw ------ 1 root root 9843 Oct 13 21:32 .bash_history
-rw -r--r-- 1 root root 0 Oct 3 22:08 .keep
-rw ------ 1 root root 27 Oct 5 19:19 .lesshst
-rw ------ 1 root root 10812 Oct 12 14:15 .viminfo Code: Select all
gentoo ~# useradd -m test1
gentoo ~# passwd:Code: Select all
gentoo ~# logout
gentoopc login : test1
Passwd:
test1@gentoo ~$
test1@gentoo ~ ~$ ls -al
total 32
drwxr-xr-x 3 test1 test1 4096 Oct 12 15:23 .
drwxr-xr-x 4 root root 4096 Oct 12 15:06 ..
-rw ------ 1 test1 test1 93 Oct 12 15:23 .bash_history
-rw -r--r-- 1 test1 test1 127 July 9 02:07 .bash_logout
-rw ------ 1 test1 test1 204 July 9 02:07 .bash_profile
-rw ------ 1 test1 test1 551 July 9 02:07 .bashrc
drw ------ 2 test1 test1 4096 Oct 3 22:18 .ssh
-rw ------ 1 test1 test1 925 Oct 12 15:19 .viminfo
test1@gentoo ~$ 

