home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / admin / 8020 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!munnari.oz.au!metro!basser.cs.su.oz.au!tmx!coulomb!parson
  3. From: parson@coulomb.pcc.oz.au (Brenda Parsons - x2403)
  4. Subject: Re: yppasswdd behavior (SunOS vs AIX)
  5. Message-ID: <1992Nov6.071644.442@coulomb.pcc.oz.au>
  6. Organization: Prospect Electricity, Sydney
  7. References: <jgabriel.720755006@academ01> <1d6jb5INNpjn@early-bird.think.com>
  8. Date: Fri, 6 Nov 92 07:16:44 GMT
  9. Lines: 30
  10.  
  11. In article <1d6jb5INNpjn@early-bird.think.com> barmar@think.com (Barry Margolin) writes:
  12. >In article <jgabriel.720755006@academ01> jgabriel@academ01.mty.itesm.mx (Ing. Juan Gabriel Ruiz) writes:
  13. >>I'm just trying to investigate some trouble we have. We have some
  14. >Yppasswdd doesn't use any mechanism to check whether the password change
  15. >request is coming from a superuser process.  Therefore, it cannot trust a
  16. >request unless it includes the old password.
  17. >
  18. >If you want to change a user's password without having to type the old one,
  19. >you'll have to login to the NIS master and use the ordinary passwd(1)
  20. >command.
  21. >-- 
  22. This won't work either. At least not unless the NIS master uses
  23. the /etc/passwd file as the distributed password file.
  24. However, there is an option on 'passwd' which allows you to
  25. specify the 'passwd' file.
  26.  
  27. So you can:
  28.  
  29. log into the NIS master 
  30.  
  31. invoke passwd as:
  32.  
  33. passwd -F NIS_passwd_file userid
  34.  
  35. In this case, you are not prompted for the original password.
  36. -- 
  37. % Brenda Parsons                  
  38. % Currently at Prospect Electricity
  39. % 10 Smith Street, Parramatta 2150, Australia
  40. % +61 2 635 0300              e-mail:   parson@coulomb.pcc.oz.au        
  41.