MayoMayn
BestDev
- Oct 18, 2016
- 1,423
- 683
So I've just partitioned my HDD and SSD because I want to dual boot Windows.
Now apart from that, the Ubuntu 17.10 OS is installed on my SSD, but I want all users to be created under the HDD mount.
The HDD is mounted as /media/sda1
Now if I edit the HOME variable in /etc/default/useradd
to:
and create a new user, the users home folder still gets created under the SDD.
Even restarting my PC didn't work.
Any reason why?
Now apart from that, the Ubuntu 17.10 OS is installed on my SSD, but I want all users to be created under the HDD mount.
The HDD is mounted as /media/sda1
Now if I edit the HOME variable in /etc/default/useradd
to:
Code:
HOME=/media/sda1/home # default was /home
and create a new user, the users home folder still gets created under the SDD.
Even restarting my PC didn't work.
Any reason why?
You must be registered for see links