LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   creating home directories on different machine.. (https://www.linuxquestions.org/questions/linux-newbie-8/creating-home-directories-on-different-machine-637697/)

shishirkotkar 04-25-2008 01:26 AM

creating home directories on different machine..
 
hi i have 2 machines running fedora core 6
one is my samba server and the other one is my LTSP server...

this is what i want to happen

every time i create a user on ltsp server i want the home directory of that user to be created on the samba server machine...

is this possible?how?

Junior Hacker 04-25-2008 01:52 AM

You would probably have to create a second /home directory in the samba server's file system, something like /ltsp_home or whatever. Or a separate partition/drive. Then move /home from the file system of the LTSP server including links for applications etc. to this new directory on the samba. The samba will have to be running in order to log into the user accounts on the LTSP.

If they are networked, could'nt you just create the user's accounts on the Samba and log in from either one?

shishirkotkar 04-25-2008 12:11 PM

how exactly is it done??
 
Quote:

Originally Posted by Junior Hacker (Post 3132270)
You would probably have to create a second /home directory in the samba server's file system, something like /ltsp_home or whatever. Or a separate partition/drive. Then move /home from the file system of the LTSP server including links for applications etc. to this new directory on the samba. The samba will have to be running in order to log into the user accounts on the LTSP.

If they are networked, could'nt you just create the user's accounts on the Samba and log in from either one?

could you plz be more specific....linux newbie here...
how exactly is it done....????

jschiwal 04-25-2008 12:21 PM

If you want to use samba shares for the home directory, make sure you use the cifs filesystem and not smbfs. IMHO, using NFS would be better for this purpose. Using cifs, you will get permissions and acls but locking may not work right.

If the share containing the home directories is mounted on /home, then you shouldn't need to change anything. Simply mount the samba share on the /home directory.

Even if you already have users on the local /home directory, you can mount the samba home share somewhere else and use that directory instead when you create a new user.


All times are GMT -5. The time now is 12:05 PM.