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