LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2003, 02:37 PM   #1
zdehman
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Using rsync as a replacement for NIS


I am a linux newbie. I was able to read from related threads that setting up NIS is insecure. I was able to browse howtos on how to use rsync to synchronized files from a server. My question is...by running cron jobs at the server to synchronize client files, applicable to many client machines? In my cron job, i have to state the client running rsync could i be able to synchronize all client files with the use of ip_addresses/netmask ? Hope would care to enlighten me on this and suggest another alternative way to do so...
 
Old 08-19-2003, 03:19 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
zdehman,

I've never used NIS itself, but what I'm setting up right now is to use a LDAP server and have the NSS (Name Service Switch) use the LDAP server. It is a bit more complex than using a manual copy (or rsync), but is a bit more standard and hopefully more useful. PAM (Pluggable Authentication Modules) can use LDAP as well. PAM allows you more control or use authentication than NSS.

Right now, I'm wrapping my head around exactly what NSS vs. PAM does and how LDAP provides the info. NSS implements the C library functions to get user and machine (can provide host name -> IP address translation instead of using DNS) information and allows different methods of looking the info up (files, hashed databases, NIS, LDAP) using dynamic modules. PAM is a set of functions to control sessions and user authentication. My major problem with LDAP is the nomenclature. It takes a while for me to get it.

If you are going to try the rsync route, make sure to use ssh as a transport. You can use host based RSA authentication or user base RSA authendication. How were you going to run this? Are the cron jobs on the client or server?

Have fun,
chris
 
Old 08-20-2003, 08:18 AM   #3
zdehman
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Im gonna edit server's root crontab and indicate the client's hostname there. Could i do this with many clients like i have to indicate them one by one on the server's crontab? We'll if not, is LDAP easy to install? I am still a newbie...Thanks!
 
  


Reply



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
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
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 Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:34 PM.

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