LinuxQuestions.org
Register a domain and help support LQ
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 05-06-2006, 08:54 PM   #1
maztahv00d00
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
how to include in Linux NIS update from solaris


please help, we have a NIS server running on solaris 2.6 and i have put up a fedora core 4 for apache...

i wanted to include my fedora core in updating the NIS from our NIS server after executing ypmake...

how to?

thanks.
 
Old 05-07-2006, 02:59 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,082

Rep: Reputation: 299Reputation: 299Reputation: 299
Your question doesn't make much sense -- what is it you're trying to do? If you just want the Fedora sdystem to authenticate via NIS, then you just need to edit /etc/yp.conf to add your NIS domain and server (make sure the IP of the server is listed in /etc/hosts -- I don't think NIS will do a DNS lookup). The line would look like:

Code:
domain <mydomain> server <name of SunOS system>
Obviously you need to fill in <nydomain> and <name of SunOS system>. Also make sure that the Linux machine is on a network listed in /etc/ypserv.securenets on the Solaris system (this is required in Linux, but Sun may have a different implementation). Then start up ypbind on the Linux machine and you should be OK.

If you want to migrate users from the Fedora system onto NIS you'll need to add the user/groups to the passwd and group files on the NIS server.

Also, I don 't like having NIS enabled on Web servers. The reason being is that anyone who exploits a hole in a Web application can easily get your passwd file and set to work cracking it (NIS should only be used on completely trusted machines). Granted that they can do the same by rooting a system on your network, but that's generally a lot harder than finding a hole in some Web applicationm (at least if you're up to date with patching and have sane security practices).
 
  


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
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
NIS Solaris 8 (MASTER) ---> RH9 NIS (Slave) Help x86br Linux - Networking 4 05-12-2003 05:26 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration