LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 09-09-2003, 10:52 PM   #1
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
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!
 
Old 09-09-2003, 11:31 PM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
you would do

export HOME=/dir
 
Old 09-10-2003, 01:28 AM   #3
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Original Poster
Rep: Reputation: 30
and i assume i just drop into a shell session and issue that command?
 
Old 09-10-2003, 01:59 AM   #4
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Original Poster
Rep: Reputation: 30
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...
 
Old 09-10-2003, 02:21 AM   #5
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Original Poster
Rep: Reputation: 30
oh hell -- i found it -- i can change the home dir under users and groups in KDE.

Thanks anyway! :P
 
Old 09-10-2003, 05:09 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
changing home directory peaceslp Linux - General 1 12-09-2005 08:13 AM
Home directory permissions changing haphazardly... zupidupi Linux - Newbie 4 04-14-2005 02:31 PM
Changing user's home directory? HOW barton Debian 10 04-04-2005 03:27 AM
Changing the home directory kyleinc Linux - General 2 02-27-2005 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration