Use the "authconfig" utility. On the first page, specify the NIS domain and the NIS server hostnames in order of preference:
Server: hermes.atc.no,archimedes.atc.no
On the next page, make sure shadow passwords and md5 passwords are enabled:
- Use Shadow Passwords
- Use MD5 Passwords
After you select Ok, authconfig will automatically reload ypbind for you:
Stopping portmap services: [ OK ]
Starting portmapper: [ OK ]
Shutting down NIS services: [ OK ]
Binding to the NIS domain... [ OK ]
Listening for an NIS domain server: hermes.atc.no
...and you're done :-)