Jump to content

nis and crypt passwords


Pooh
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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/)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...