LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   changing home directory (https://www.linuxquestions.org/questions/linux-general-1/changing-home-directory-91076/)

netboy_541 09-09-2003 09:52 PM

changing home directory
 
:confused: How do you LITERALLY change the home directory... I'm not talking about changing to another directory -- I mean setting a different directory as your home directory..


I pulled a stupid the other day and somehow changed it and of course, KDE flipped out, so I changed it to another directory that I made real fast to get me into the GUI, but now I want to change it back.. :scratch:

Thanks!

wr3ck3d 09-09-2003 10:31 PM

you would do

export HOME=/dir

netboy_541 09-10-2003 12:28 AM

and i assume i just drop into a shell session and issue that command?

netboy_541 09-10-2003 12:59 AM

I tried that -- the previous settings are over-riding that command.
Somewhere in KDE is where I set the home directory, but I can't recall where it is...

netboy_541 09-10-2003 01:21 AM

oh hell -- i found it -- i can change the home dir under users and groups in KDE.

Thanks anyway! :P

acid_kewpie 09-10-2003 04:09 AM

FYI, the direct way would be to edit /etc/passwd and change the obvious, or run usermod from a terminal


All times are GMT -5. The time now is 09:23 PM.