Unix Technical Forum

Next Issue, Home Directories

This is a discussion on Next Issue, Home Directories within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Being a school, we have a lot of users, a lot. It would be inconvenient and to have home ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 10:36 AM
Liam Marshall
 
Posts: n/a
Default Next Issue, Home Directories

Being a school, we have a lot of users, a lot. It would be inconvenient
and to have home directories stored on the workstations instead of a
central location. Not to mention virtually impossible for me to mark if I
had to go to each machine to mark assignments.

with a Samba server and windows workstations I have all home directories
on the server with drive mappings pointing to users' home directories. I
assume I can do a similar thing with a pure Linux environment. NIS
server/client is only for authentication, right? so what would do the
serving up of home directories (which I will lump together into the
windows term of roaming profiles) so that no matter what workstation a
student sits at, they get their "Stuff"

Sounds silly but I only know the windows way of doing that.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 10:37 AM
Jacques
 
Posts: n/a
Default Re: Next Issue, Home Directories

Liam Marshall a écrit :
> Being a school, we have a lot of users, a lot. It would be inconvenient
> and to have home directories stored on the workstations instead of a
> central location. Not to mention virtually impossible for me to mark if
> I had to go to each machine to mark assignments.
>
> with a Samba server and windows workstations I have all home directories
> on the server with drive mappings pointing to users' home directories.
> I assume I can do a similar thing with a pure Linux environment. NIS
> server/client is only for authentication, right? so what would do the
> serving up of home directories (which I will lump together into the
> windows term of roaming profiles) so that no matter what workstation a
> student sits at, they get their "Stuff"
>
> Sounds silly but I only know the windows way of doing that.
>


NFS wouldn't be the solution ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 10:37 AM
Joost Kremers
 
Posts: n/a
Default Re: Next Issue, Home Directories

Liam Marshall wrote:
> with a Samba server and windows workstations I have all home directories
> on the server with drive mappings pointing to users' home directories. I
> assume I can do a similar thing with a pure Linux environment. NIS
> server/client is only for authentication, right? so what would do the
> serving up of home directories (which I will lump together into the
> windows term of roaming profiles) so that no matter what workstation a
> student sits at, they get their "Stuff"


i think this is where NFS (Network File System) comes in...

there is a HOWTO at <http://nfs.sourceforge.net/nfs-howto/>, which in the
intro also mentions some alternatives.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 10:37 AM
Sebastian Stein
 
Posts: n/a
Default Re: Next Issue, Home Directories

On Thu, 15 Apr 2004 00:05:25 -0500, Liam Marshall <lsrpm@mts.net> wrote:
> with a Samba server and windows workstations I have all home directories
> on the server with drive mappings pointing to users' home directories. I
> assume I can do a similar thing with a pure Linux environment. NIS
> server/client is only for authentication, right? so what would do the
> serving up of home directories (which I will lump together into the
> windows term of roaming profiles) so that no matter what workstation a
> student sits at, they get their "Stuff"


Put the home directories on a central server and mount this filesystem
during startup on the clients. A very easy way would be to just have a
central samba server with the directories and then mount them at startup
with smb mount.

Sebastian
--
http://www.halle-ist-schoen.de/
Bilddokumentation der schoensten Saalestadt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 10:37 AM
Joost Kremers
 
Posts: n/a
Default Re: Next Issue, Home Directories

Sebastian Stein wrote:
> Put the home directories on a central server and mount this filesystem
> during startup on the clients. A very easy way would be to just have a
> central samba server with the directories and then mount them at startup
> with smb mount.


AFAIK the samba file system does not support unix-like permissions and
ownerships, so you may not want to do it this way.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 10:37 AM
PeDe
 
Posts: n/a
Default Re: Next Issue, Home Directories

Joost Kremers wrote:
[..]
> AFAIK the samba file system does not support unix-like permissions and
> ownerships, so you may not want to do it this way.


Sebastian is right, this could be easily done by samba.
No need to use NFS here (especially for security reasons).

--
10-4
Pe<>De
Miej zrodla szeroko otwarte
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 10:37 AM
Menno Duursma
 
Posts: n/a
Default Re: Next Issue, Home Directories

On Thu, 15 Apr 2004 15:22:45 +0200, PeDe wrote:
> Joost Kremers wrote:
> [..]
>> AFAIK the samba file system does not support unix-like permissions and
>> ownerships, so you may not want to do it this way.


I think you need to compile Samba feeding: "--with-smbmount" to
"configure", which Slackware defaults to _not_ do.

> Sebastian is right, this could be easily done by samba.


Yes.

> No need to use NFS here (especially for security reasons).


No need for NIS either. OP should be able to autenticate Linux users
through "winbind" against the Samba PDC.

And if recompiling Samba anyway, maybe read this post:
http://google.nl/groups?selm=pan.200...0deskt op.lan

BTW, Samba v3 can do NTLMv2 which is a little more secure then NTLMv1 -
not in the least because it prevents MIM attack.

HTH.

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 10:38 AM
Roar_Sunde
 
Posts: n/a
Default Re: Next Issue, Home Directories

On 2004-04-15, PeDe <who@cares.com> wrote:
> Joost Kremers wrote:
> [..]
>> AFAIK the samba file system does not support unix-like permissions and
>> ownerships, so you may not want to do it this way.

>
> Sebastian is right, this could be easily done by samba.
> No need to use NFS here (especially for security reasons).
>

It could easily be done by Samba, but in a only linux env. i would say
NFS is the right choice. Samba does contain a lot of code
which has nothing to do with distributing files.

- Roar

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 10:38 AM
Henrik Carlqvist
 
Posts: n/a
Default Re: Next Issue, Home Directories

"Liam Marshall" <lsrpm@mts.net> wrote:
> I assume I can do a similar thing with a pure Linux environment. NIS
> server/client is only for authentication, right?


Yes, NIS is very convenient in a network.

> so what would do the serving up of home directories (which I will lump
> together into the
> windows term of roaming profiles) so that no matter what workstation a
> student sits at, they get their "Stuff"
>
> Sounds silly but I only know the windows way of doing that.


The way to do it is to have one or more NFS servers exporting the home
directories. Then all clients should mount the home directories.

Something like this in /etc/exports on a NFS server:

/export/home1 @clients_netgroup(rw) backup_server(ro)

Something like this in /etc/fstab on a client:

the_server:/export/home1 /home/the_server nfs defaults 1 1

Something like this in passwd on the nis server:

user1:encrypted:1005:100:User Name:/home/the_server/user1:/bin/bash

If you want an advanced and very nice solution you could also add
automount maps to your NIS server and mount the home directories with
automount instead of hard NFS mounts in /etc/fstab. This way you will not
have to edit /etc/fstab on every client each time you add a new NFS server
or partition to a server. Adding a NIS map will require some modfication
of the yp Makefile and automount should be called with your NIS maps from
a startup script.

regards Henrik

--
The address in the header is only to prevent spam. My real address is:
hc2(at)uthyres.com Examples of addresses which go to spammers:
info@balticinkasso.com remove@emailpromo.biz root@localhost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 10:39 AM
Sebastian Stein
 
Posts: n/a
Default Re: Next Issue, Home Directories

On Thu, 15 Apr 2004 14:58:47 GMT, Menno Duursma <menno@desktop.lan> wrote:
> I think you need to compile Samba feeding: "--with-smbmount" to
> "configure", which Slackware defaults to _not_ do.


I don't think this is needed, because I use the slackware samba package and
can do smbmount without recompiling.

Sebastian
--
http://www.hpfsc.de/ - die Seite rund um:
Assembler, Bundeswehr, TFT LCDs, Halle/Saale, Fahrradtouren, Neuseeland,
Wanderstaat Mauma, Raumschiff USS Nathan, Enemy Room, MLCAD Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com