1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
ClearOS ClearFoundation and ClearCenter have moved to the new website ClearOS.com (https://clearos.com). We are making this change in order to improve search and exposure of ClearOS to the world. There are several improvements that are being made and some that are still on the table for development. The forums are now live on clearos.com and locked on this site until all the redirects are in place. If you have issues using the new site, feel free to ask on the #clearfoundation room in IRC chat on freenode.net or engage with a chat agent on the site if they are around. Our goal is to complete this step so that we can be properly ready for the types of communication that will be essential for the release of ClearOS 7!
Welcome, Guest
Change Home Directory Forum is locked
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Change Home Directory
#17998
Change Home Directory 4 Years, 7 Months ago  
i was just wondering how to change the default home directory of all the users in clearos.
in other distros while adding a user one can change the home directory from file /etc/passwd or simply using usermod -d /path/home/

it is really getting too difficult for me changing the home directory here in clearos.
any help will highly be appreciated.
~prahmod
Pramod Giri
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#18032
Re:Change Home Directory 4 Years, 7 Months ago  
Hello,

That has to be changed in the LDAP system. Some of the work in ClearOS 6.x will make it possible to expose this parameter in webconfig. It's not realistic to change it in ClearOS right now.
Peter Baldwin
Developer
Posts: 2143
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#18053
Re:Change Home Directory 4 Years, 7 Months ago  
thank you for your reply but i am getting too confused,isn't it possible to change the home directory by editing from the back end means the configuration file.
if there is any file containing the home directory path....could you tell
it is very much necessary for me to change the home path
thank you for your time
Pramod Giri
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/29 01:18 By prahmod.
The topic has been locked.
 
#18057
Re:Change Home Directory 4 Years, 7 Months ago  
Can you achieve something similar using symbolic links or, if someone clever posts, using "mount --bind ......"?
Nick Howitt
Moderator
Posts: 6565
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#18058
Re:Change Home Directory 4 Years, 7 Months ago  
i tried using bind and even tried soft links....so it is not worthy for me.
i was just looking for some way for changing home directory
Pramod Giri
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#18059
Re:Change Home Directory 4 Years, 7 Months ago  
LDAP is the system database which contains all the user information and not configuration files. Therefore would have to edit the databse to change the paths

Can't you just mount /home to another location? why do you want to move it - space constraints?

For another drive...If you edit /etc/fstab and create a line (this example mounts the /home directory to another drive partition sdb1).
Code:

/dev/sdb1               /home             ext3    defaults        0 0


You can then copy (or move) your data from your old location to the new one

If you want to keep /home on the same drive then mount bind should do what you want. The line in /etc/fstab becomes something like:-
Code:

/home                           /path/to/directory/home                  none bind,rw 0 0

Tim Burgess
Moderator
Posts: 6766
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#18061
Re:Change Home Directory 4 Years, 7 Months ago  
thank you for help
i think i got my answer...i will definitely mount home as you stated.
thanks a lot
Pramod Giri
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#24759
Re:Change Home Directory 4 Years, 2 Months ago  
so if I make this change I should be able to ftp on port 21 to the link location? ie

/home/username /var/flexshare/shares/exisiting_share none bind,rw 0 0

I have already done this, restarted ldap but can't access via ftp. Am I not following the instructions correctly?
Jason Rennaker
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#24763
Re:Change Home Directory 4 Years, 2 Months ago  
so if I make this change I should be able to ftp on port 21 to the link location? ie

/home/username /var/flexshare/shares/exisiting_share none bind,rw 0 0

I have already done this, restarted ldap but can't access via ftp. Am I not following the instructions correctly?
Jason Rennaker
Senior Boarder
Posts: 41
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1
  get the latest posts directly to your desktop