This is a discussion on NIS configuration within the Linux Networking forums, part of the Linux Forums category; hello all, i am newbie to the world of NIS. i have got a network of 4 Linux machine all ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 <sandeep_1980@yahoo.com> 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 |
|
|||
|
ptb@oboe.it.uc3m.es (P.T. Breuer) wrote in message news:<alespb.cdp.ln@news.it.uc3m.es>...
> Sandeep <sandeep_1980@yahoo.com> 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 |