Artix Linux Forum

Artix Linux => System => Topic started by: mardiyah on 19 June 2023, 13:49:48

Title: [SOLVED] Have new home dir. correctly
Post by: mardiyah on 19 June 2023, 13:49:48
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
Title: Re: Have new home dir. correctly
Post by: suren on 19 June 2023, 14:29:50
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
Title: Re: Have new home dir. correctly
Post by: mardiyah on 22 June 2023, 03:13:43
Solved

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