LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2004, 06:00 PM   #1
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Rep: Reputation: 30
what is NIS ?


is nis a service so users can log onto there same user account on different machines. and have there same home dir etc on each one ? if so then does anyone know where i can get information on how to get it, use it etc. because i have never tried it atall. if that is not what NIS is then does anyone know what i am talking about and what it is im looking for.

like how novell works. only example i could think off! as i am totally new to this field of networking but i really want to learn how it works

thanks in advance, ben
 
Old 10-19-2004, 07:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
NIS - Howto


Quote:
is nis a service so users can log onto there same user account on different machines. and have there same home dir etc on each one ?
Oh, and btw, it's their, as in "a possessive pronoun",
not there ...


Cheers,
Tink
 
Old 10-20-2004, 07:06 AM   #3
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
cheers tink, you have helped me out loads now and i really apricate it even though im not going to be reading that now it is exactly what i was looking for so thanks
 
Old 10-20-2004, 07:58 AM   #4
kadissie
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Fedora 5, Knoppix, Ubuntu
Posts: 27

Rep: Reputation: 15
I'm not quite sure whether the 3rd post here was meant to be sarcastic or just confusing, but tink was merely pointing out that the original post may have been open to misunderstanding due to spelling. That aside, let's continue....

NIS (Network Information System) is a client-server system for making information on one computer available on others - check out http://www.linux-nis.org/. You set up one computer as a master server with all the user account, group and home directory information, and it makes this available on a network (by running a program called ypserv). You then configure the clients to consult the server when they're looking for this information (they need to run ypbind). You can also set up additional slave servers that get their information from the master, so that if the master is unavailable the NIS remains up.

NIS doesn't however solve the "access to home directories" problem - for that you need NFS (Network File System). You tell a host on your network to export some of its directories to a local netgroup, and all the other hosts in that netgroup can mount those directories just as if they were on a local hard drive.

Another useful application for these purposes is autofs. This reduces the network load by dynamically mounting a network file system - so only when somebody logs on as joeuser will the directory /home/joeuser be mounted on their computer.

R.
 
Old 10-20-2004, 10:39 AM   #5
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
the 3rd post was ment to be neither im just not a good speller etc. im dyslexic, anyway. the reason i want to setup NIS is because i have been using novell at college (netware server 6 & netware client4.9) and i think the way it works. e.g. you create users on the server that can log into any machine with the client software installed and access there home dir etc. (i think roaming accounts as windows calls them, but better). i was wondering what the equlivant was on unix, and i think that NIS is what im looking for .
i use samba for shares, is NFS better?
i want to be able to setup login scripts etc to mount directories when the user logs in. but i want to set this up so it works for unix & windows machines because i run a gentoo/win2k dual boot and i have another machine on my network which is just windows xp (oh and a server of course )

when you say "netgroup" is that a workgroup ?

Also that autofs thing, is that actual a program and if so does it get installed on the client machines or the server? or is it an option to go in fstab ?

thanks for the help people
 
Old 10-20-2004, 02:11 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Snerkel
i use samba for shares, is NFS better?
Better is the wrong word ... more appropriate, and
slightly faster :) Samba will give you more fine-grained
control. One of the things is that with NFS you have to
be very careful with permissions (you should make sure
that root is squashed) and that only certain machines are
allowed to access the NFS shares (have a good look at
/etc/hosts.allow and /etc/hosts.deny)

Quote:
i want to be able to setup login scripts etc to mount directories when the user logs in. but i want to set this up so it works for unix & windows machines because i run a gentoo/win2k dual boot and i have another machine on my network which is just windows xp (oh and a server of course ;) )
I haven't used NFS for Windows, but the last time
I read about it the common statement was that it
doesn't perform quite as well. So, if you want to
use both winDOHs and Linux as a client stick
with Samba.

Quote:
Also that autofs thing, is that actual a program and if so does it get installed on the client machines or the server? or is it an option to go in fstab ?
It's both a kernel and user-space thing that gets
configured via fstab :)

Have a look at the entries you get from
man -k autofs


Cheers,
Tink
 
Old 10-20-2004, 03:02 PM   #7
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
tink ur a ledgend! thanks.
 
  


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
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration