Pooh Posted July 2, 2003 Report Share Posted July 2, 2003 Hi I'm running a small office network with NIS authentication and both linux and solaris clients. The solaris 8 clients need crypt encrypted passwords, since they don't understand md5 ones. I tried setting this in the pam.d/system-auth file, which worked for localy changing passwords, but yppasswd still uses md5 encrryption. Is there any way to make these two ways of changing passwords use the same setting or do I need to find the source for yppasswd and recompile it with crypt as default (if this is possible). TIA Simon Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 2, 2003 Report Share Posted July 2, 2003 Did you remember to remake the nis map and push it. Its a long time since I did this and it was on a Solaris NIS server but I remember you have to redo a make which then pushes the new NIS mapping out. Quote Link to comment Share on other sites More sharing options...
Pooh Posted July 2, 2003 Author Report Share Posted July 2, 2003 Yes, but the maps just store the exported information.... so I don't think it helps, but you've given me an idea. Maybe this can be set in the makefile (/var/yp/Makefile)? Cheers Simon Quote Link to comment Share on other sites More sharing options...
Pooh Posted July 2, 2003 Author Report Share Posted July 2, 2003 Well, that was not it... other suggestions? Cheers Simon Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 2, 2003 Report Share Posted July 2, 2003 I tried setting this in the pam.d/system-auth file, which worked for localy changing passwords, but yppasswd still uses md5 encrryption. Yes what I meant is repushing the maps after changing it in pam. Quote Link to comment Share on other sites More sharing options...
Pooh Posted July 2, 2003 Author Report Share Posted July 2, 2003 I ran make in /var/yp several times since I changed the option in /etc/pam.d/system-auth the actual line I changed is: password sufficient /lib/security/pam_unix.so nullok use_authtok crypt shadow remember=3 (the default is s/crypt/md5/) Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 2, 2003 Report Share Posted July 2, 2003 I'm stuck then... I keep meaning to install LDAP at home so meanwhile I didn't bother setting up NIS. I just mentioned it becuase its easy to forget the make .... Ive done it myself, several times ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.