home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / solaris / 467 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.9 KB

  1. Xref: sparky comp.unix.solaris:467 comp.sys.sun.admin:10254
  2. Newsgroups: comp.unix.solaris,comp.sys.sun.admin
  3. Path: sparky!uunet!newsflash.concordia.ca!garrot.DMI.USherb.CA!garrot!bussiere
  4. From: bussiere@tohi.DMI.USherb.CA (Luc Bussieres)
  5. Subject: Re: How could I configure Solaris 2.1 to use the netgroup map?
  6. In-Reply-To: maslen@gday.Eng.Sun.COM's message of 12 Jan 1993 04:12:11 GMT
  7. Message-ID: <BUSSIERE.93Jan12143833@tohi.DMI.USherb.CA>
  8. Lines: 25
  9. Sender: usenet@DMI.USherb.CA (Pour courrier Usenet)
  10. Nntp-Posting-Host: tohi
  11. Organization: Universite de Sherbrooke, Dept. de Mathematiques et
  12.     d'Informatique.
  13. References: <BUSSIERE.93Jan10101711@tohi.DMI.USherb.CA> <ll4h8rINN2eu@exodus.Eng.Sun.COM>
  14. Date: Tue, 12 Jan 1993 19:38:36 GMT
  15.  
  16. In article <ll4h8rINN2eu@exodus.Eng.Sun.COM> maslen@gday.Eng.Sun.COM (Thomas Maslen) writes:
  17. >
  18. >   >Before I had change those 2 lines every users that where define in the
  19. >   >NIS passwd map could log on the machine but they have to reenter there
  20. >   >password (I didn't found yet the equivalence for the host.equiv file).
  21. >   >After I had change it and put "+@staff:" at the end of the passwd file
  22. >   >and "+" at the end of the group file, I have try a series of command
  23. >   >which give strange result:
  24. >
  25. >   Did you massage /etc/shadow as well?  The rule of thumb is:
  26. >
  27. >       Entries in /etc/passwd and /etc/shadow should match one-for-one
  28. >
  29. >   Beware that, in the grand Unix tradition, the routine that parses /etc/shadow
  30. >   is a harsh god:  if you don't get the number of colons exactly right it
  31. >   won't like you.
  32.  
  33. Thanks for the hint, there is a program name pwconv that convert
  34. correctly the passwd file and create a shadow file. My problem was
  35. with the shadow file where the line +@staff had the wrong format.
  36. --
  37. Luc Bussieres ---- System Analyst - Dept. of Mathematics and Computer Sciences 
  38. University of Sherbrooke     
  39. Internet : luc.bussieres@dmi.usherb.ca
  40. Tel: (819) 821-7981
  41.