How change a userīs home directory?
How can I change a userīs home dir?
Letīs say Roxxor2īs home dit is /home/Roxxor2, how can I change it to /home/roxxor? |
make sure the new directory is owned by the right uid with:
chown -R roxxor2:roxxor2 /home/roxxor #run as root then edit /etc/passwd and change the line beginning with roxxor2. change the part that says '/home/roxxor2' to '/home/roxxor' |
Thanks! Is it also possible to change the userīs name from "Roxxor2" to "roxxor"?
|
Yup. same place in /etc/passwd, just change the name.
I think it might be a bit more complicated for some GUI settings, but that's it for the basic login. |
All times are GMT -5. The time now is 04:12 AM. |