Password problems using an NIS server under Solaris 2.4

Password problems using an NIS server under Solaris 2.4

Post by Brett Barti » Sat, 16 Sep 1995 04:00:00

I am running an NIS server under Solaris 2.4 using nskit-1.2. I also
modified the NIS Makefile entry "PWDIR" to place my nis password
map file in a separate directory (/var/yp/etc). How do I go about    
administering my password and shadow files? For instance, Is there a way
to use the pwconv & passwd commands on my /var/yp/etc/passwd file? Or
am I stuck just manually editing these files to implement password aging?


brett bartick


Password problems using an NIS server under Solaris 2.4

Post by matt silveir » Tue, 19 Sep 1995 04:00:00


Your /etc/shadow files will not be used with plain old "yp".  In fact,
if you are using NIS (formerly yp) then you have NONE of the SVR4 security
that Solaris 2.x provides.  Thus, pwconv is not a valid command.  However,
passwd (for the user) as well as yppasswd are valid.  

For a good description, tutorial, and general reference I would suggest
"Managing NFS and NIS" by O'Reilly and Assocs (Auth. Hal Stern.)

If you moved your NIS directory, you still need to run "make" in /var/yp.


Matt Silveira
Data Systems Engineer
AT&T Wireless Services


1. Linux NIS with Solaris NIS+ server, password problems.

I am having a hard time getting Linux NIS to work properly on my
network. I have a Solaris 2.7 NIS+ server running in NIS compatible
mode. I have no problems setting up NIS on the Linux system (Redhat
6.0 based) and

     ypcat passwd

works excepts I get a *NP* as the password entry (is that supposed to
be?). Anyway, I can force myself to be another user with the command
(issued as root):

     su - userid

and I switch to 'userid', but I cannot logon as another user when a
password is required --- if I telnet or login using xdm the user
passwords are never recognized. I am NOT using MD5 passwords and I
have shadow passwords turned of in Linux. The Solaris system uses
shadow passwords and I am not sure how to turn it off.

Anyone have Linux NIS working with a NIS+ solaris server? If yes, any
ideas on making this work would be very appreciated.


    - Henrik

Henrik Schmiediche, Dept. of Statistics, Texas A&M, College Station, TX 77843

2. apache cache

3. ypbind problems under solaris 2.4 w/ sunos 4.1.4 nis servers

4. break up fs/devices.c

5. GUI for setting NIS+ password on Solaris 2.4/5

6. umount on NFS => core dump

7. xdm and NIS+ used together under Solaris 2.4

8. Devpack for 2.6?

9. Sol 2.5 NIS Server & 2.4 NIS Client?

10. Changing password for an user on a SOlaris 2.4 POP3 server

11. Q: NIS server on Solaris 2.4?

12. NIS+ replica server (Solaris 2.4)

13. Solaris 2.4 NIS Client and Diskless Server.