Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Have new home dir. correctly (Read 503 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Have new home dir. correctly

How do we create/have new /home directory correctly, as created one in a partition mounted by /etc/fstab, was copied with  .bashrc, .inputrc, few .config/<files>, etc, but still, if login with that new /home of that partition it'll halt in login prompt ?

what're requirement not yet fulfilled to be present in home directory, to smoothly startup and directly get into desktop ? Thanks before

Re: Have new home dir. correctly

Reply #1
I don't understand what you are trying to achieve but "usermod -d" might help you
Code: [Select]
 -d, --home HOME_DIR
           The user's new login directory.

           If the -m option is given, the contents of the current home directory will be moved to the new home directory,
           which is created if it does not already exist. If the current home directory does not exist the new home directory
           will not be created.
https://wiki.archlinux.org/title/Users_and_groups#Change_a_user's_login_name_or_home_directory

 

Re: Have new home dir. correctly

Reply #2
Solved

Can't believe how stupid I'm, just chown it !