Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

NIS configuration

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2003, 07:55 AM
Default NIS configuration



hello all,

i am newbie to the world of NIS. i have got a network of 4 Linux
machine all running on Red Hat Linux 8.0. The machine names and the IP
addresses are as follows:

Machine name IP Address
============= ===========
nismaster 192.168.100.101
slave1 192.168.100.102
slave2 192.168.100.103
slave3 192.168.100.104


NIS master is configured and functioning properly, have created a
dummy account "nis" on the master and am able to login successfully on
all the machines. All teh slaves have the entry
ypserver 192.168.100.101
ypserver 127.0.0.1

the configuration i need is that if the nismaster goes down for any
reason i should be able to log in the slave servers using the nis
account. i dont need the password change facility when the master
fails.

secondly how can i configure to change the password non-interactively
(from www). i know how to do that for local accounts using PAM/crypt,
is there any procedure to change password from the web

thanks in advance

Sandeep


Sandeep
Reply With Quote
  #2  
Old 11-24-2003, 08:20 AM
P.T. Breuer
Guest
 
Posts: n/a
Default Re: NIS configuration

Sandeep <(E-Mail Removed)> wrote:
> i am newbie to the world of NIS. i have got a network of 4 Linux
> machine all running on Red Hat Linux 8.0. The machine names and the IP
> addresses are as follows:


> Machine name IP Address
> ============= ===========
> nismaster 192.168.100.101
> slave1 192.168.100.102
> slave2 192.168.100.103
> slave3 192.168.100.104



> NIS master is configured and functioning properly, have created a
> dummy account "nis" on the master and am able to login successfully on
> all the machines. All teh slaves have the entry
> ypserver 192.168.100.101
> ypserver 127.0.0.1


This is incorrect. Only the first entry is correct.

> the configuration i need is that if the nismaster goes down for any
> reason i should be able to log in the slave servers using the nis


Eh? What "slave servers"? The usual config for a 4 machine network is
master and its clients. There should be no "slave servers".

Are you saying that you have set up slaves on the 3 client machines?
If so, you want "ypserver 127.0.0.1" and nothing else.

> account. i dont need the password change facility when the master
> fails.


I don't understand - having slaves has nothing to do with having a
passwd. When you do a passwd change the change will go to the master,
no matter if you have slaves or not. The map contains the name of the
master so that yppasswd can go to the right source.

> secondly how can i configure to change the password non-interactively
> (from www).


I don't understand what you mean. You can put any passwd you like in
the master.

> i know how to do that for local accounts using PAM/crypt,
> is there any procedure to change password from the web


What? Are you asking for a web page - some cgi - on the master that
changes the psswd there? Sure. Write any one you like.

Peter
Reply With Quote
  #3  
Old 11-25-2003, 05:38 AM
Sandeep
Guest
 
Posts: n/a
Default Re: NIS configuration

(E-Mail Removed) (P.T. Breuer) wrote in message news:<(E-Mail Removed)>...
> Sandeep <(E-Mail Removed)> wrote:
> > i am newbie to the world of NIS. i have got a network of 4 Linux
> > machine all running on Red Hat Linux 8.0. The machine names and the IP
> > addresses are as follows:

>
> > Machine name IP Address
> > ============= ===========
> > nismaster 192.168.100.101
> > slave1 192.168.100.102
> > slave2 192.168.100.103
> > slave3 192.168.100.104

>
>
> > NIS master is configured and functioning properly, have created a
> > dummy account "nis" on the master and am able to login successfully on
> > all the machines. All teh slaves have the entry
> > ypserver 192.168.100.101
> > ypserver 127.0.0.1

>
> This is incorrect. Only the first entry is correct.
>
> > the configuration i need is that if the nismaster goes down for any
> > reason i should be able to log in the slave servers using the nis

>
> Eh? What "slave servers"? The usual config for a 4 machine network is
> master and its clients. There should be no "slave servers".
>
> Are you saying that you have set up slaves on the 3 client machines?
> If so, you want "ypserver 127.0.0.1" and nothing else.
>
> > account. i dont need the password change facility when the master
> > fails.

>
> I don't understand - having slaves has nothing to do with having a
> passwd. When you do a passwd change the change will go to the master,
> no matter if you have slaves or not. The map contains the name of the
> master so that yppasswd can go to the right source.
>
> > secondly how can i configure to change the password non-interactively
> > (from www).

>
> I don't understand what you mean. You can put any passwd you like in
> the master.
>
> > i know how to do that for local accounts using PAM/crypt,
> > is there any procedure to change password from the web

>
> What? Are you asking for a web page - some cgi - on the master that
> changes the psswd there? Sure. Write any one you like.
>
> Peter

ok, , this is the small description about by lab
Two web server running apache
A mail serevr on sendmail
Two development machines
all these machines are having redhat linux 8.0 and are having their
own password file.

these are my requirments,

1. I need to manage all the username and password at a single
palce,i.e. on a single machine, i suppose NIS does this perfectly.

2. the user should be able to login even if the nis master fails or
doesn't responds, i need this feature because the 2 web servers and
the mail servers are the production machine and i dont want that the
service should go down in any case.

please suggest me what should be done

thanks

Sandeep
Reply With Quote
Reply

Tags
configuration, nis

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.