LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2008, 02:26 AM   #1
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Rep: Reputation: 15
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?
 
Old 04-25-2008, 02:52 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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?
 
Old 04-25-2008, 01:11 PM   #3
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Original Poster
Rep: Reputation: 15
how exactly is it done??

Quote:
Originally Posted by Junior Hacker View Post
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....????
 
Old 04-25-2008, 01:21 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.

Last edited by jschiwal; 04-25-2008 at 01:23 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy directories/files from Fedora 8 machine to SuSE 10.3 machine r-t Linux - Newbie 6 03-11-2008 08:54 AM
Automatically creating user home directories oggy Slackware 1 11-18-2007 06:10 AM
Useradd not creating home directory when creating newuser meneedham Linux - Newbie 4 10-05-2007 01:11 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
Creating home directories with samba and PAM mkhomedir ferrantepunto Linux - Software 2 01-21-2004 10:13 AM


All times are GMT -5. The time now is 05:16 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