Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-06-2006, 08:54 PM   #1
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?

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

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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:

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).


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration