Simplest, but also most work, is to edit the user entries in /etc/passwd. See 
man usermod.

If you're adventurous, you could also edit the file directly or via sed – 
though that might change
more accounts than you want to.





Am 12.05.26 um 13:45 schrieb [email protected]:
> Hello,
> this is not very arch related, but I did not know where to post it else - and 
> my system is arch.
> 
> I have a couple of users on a remote server that I mount with fstab to /home.
> I quickly realized that that isn't a good idea and wanted edited my 
> /etc/fstab to mount homes to /
> media/homes and edited my nslcd.conf file to say: "map passwd homeDirectory 
> "/media/homes/$prefix"".
> 
> Everything worked fine, but when I rebooted, the $HOME variable remained the 
> same, and I could not
> access my initial home.
> 
> Can anyone tell me, how to change $HOME for all users to point to the new 
> $HOME (/media/homes)?
> 
> Thank you.

Reply via email to