From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622853.tru64-unix-managers.marc@archive.invalid> From: "Gerfried J. Kumbartzki" Date: Sun, 24 Mar 2002 20:54:48 +0000 To: tru64-unix-managers Subject: Enhanced Security and NIS X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622853 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------A28EF00DC504BEF7ECC1E680" This is a multi-part message in MIME format. --------------A28EF00DC504BEF7ECC1E680 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi checking the archives did not give me an answer only the impression not everything is smooth with NIS and Enhanced Security. For too long I shunt C2. Here is my experience and my problem. I admin some 20 Alphasystems all running Compaq Tru64 Unix 5.1 (with patches), mostly desktop machines. Two sets of machines. The two sets are different in that they constitute two separate NIS domains, each group has one master and the rest are clients. Domain ONE works as expected. Logins from any client are granted and registered at the master. /var/tcb/files/auth.db is updated at the master. edauth -g user returns the same on the master and client. Domain TWO gives the headache. I can login to the master as expected. /var/tcb/files/auth.db is updated 'properly'. If I try to login from a client with the NIS passwd I get refused, Login incorrect. The data base /var/tcb/files/auth.db at the client was updated and modified (u_numunsuclog# is incremented) but not the /var/tcb/files/auth.db on the master. They are hopelessly out of sync, different encrypted passwds). On the master only file __db_lock.share is touched at the login attempt on the client. NIS is running and setup as 'usually'. If NIS is stopped the behaviour is also 'as expected' edauth lets not modify the user entry, it does not know the users.With NIS running it tells to modify the users on the NIS master. What is different in both setups? I looked at the System&Network Management Documentation. Security chapt.9 talks at length about NIS and Enhanced Security, how to setup. edauth -dd default is on all systems as far as I can tell exact the same. I like to know what does it mean in the docs Set the following fields: d_skip_success_login_log: d_skip_ttys_update: when converting to C2. On all my systems it is d_skip_success_login_log@: d_skip_ttys_update@: But, that does not seem to make the difference. I remember something about the order in which C2 and NIS are setup, but do not remember it's significance. Since all clients on system TWO have the 'same' problem I'm tempted to 'blame' it on the master setup. But fishing in the dark is no solution. Maybe somebody out there knows the 'simple' fix. I appreciate your patience Gerfried --------------A28EF00DC504BEF7ECC1E680 Content-Type: text/x-vcard; charset=us-ascii; name="kum.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Gerfried J. Kumbartzki Content-Disposition: attachment; filename="kum.vcf" begin:vcard n:Kumbartzki;Gerfried J. tel;fax:1-732-445-4343 tel;home:1-732-457-0834 tel;work:1-732-445-2407 x-mozilla-html:TRUE url:http://www.physics.rutgers.edu/~kum org:Rutgers,The State University of New Jersey;Department of Physics and Astronomy adr:;;136 Frelinghuysen Rd;Piscataway;New Jersey;08854-8017;US version:2.1 email;internet:kum@physics.rutgers.edu title:Assoc. Dir. IT x-mozilla-cpt:;3648 fn:Dr. Gerfried J. Kumbartzki end:vcard --------------A28EF00DC504BEF7ECC1E680--