Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-09-2003, 09:52 PM
|
#1
|
Member
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173
Rep:
|
changing home directory
 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..
Thanks!
|
|
|
09-09-2003, 10:31 PM
|
#2
|
Member
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444
Rep:
|
you would do
export HOME=/dir
|
|
|
09-10-2003, 12:28 AM
|
#3
|
Member
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173
Original Poster
Rep:
|
and i assume i just drop into a shell session and issue that command?
|
|
|
09-10-2003, 12:59 AM
|
#4
|
Member
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173
Original Poster
Rep:
|
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...
|
|
|
09-10-2003, 01:21 AM
|
#5
|
Member
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173
Original Poster
Rep:
|
oh hell -- i found it -- i can change the home dir under users and groups in KDE.
Thanks anyway! :P
|
|
|
09-10-2003, 04:09 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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 06:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|