Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 1995 14:00:05 -0500 (EST)
From:      Robert Shady <rls@kilroy.id.net>
To:        freebsd-hackers@freebsd.org
Subject:   Prob's w/YP Stuff
Message-ID:  <199512041900.OAA19588@server.id.net>

next in thread | raw e-mail | index | archive | help
Has anybody else noticed that 'root' can't change someone's NIS password
using the 2.1.0-RELEASE yp stuff?  Even if you edit /var/yp/master.passwd,
delete their old password, 'make', and try 'passwd <user>' it still asks
for the old password.  Have I done something wrong, or is this a legitimate
bug?  Browsing the source code, it looks like what's supposed to happen is

1) 'passwd <user>'
2) retrieve <users> info
3) if <users>.password is blank & current.user=='root' then goto #5
4) ask for old password
5) ask for new password
6) re-ask for new password
7) if current.user=='root' || (old.password==<user>.password then change
   password.

But it's not working that way.

	-- Rob
===
      _/_/_/_/_/  _/_/_/_/               _/_/    _/  _/_/_/_/_/  _/_/_/_/_/
         _/      _/      _/    _/_/_/   _/  _/  _/  _/_/_/_/        _/
   _/_/_/_/_/  _/_/_/_/               _/      _/  _/_/_/_/_/      _/

                             Innovative Data Services 
                          Serving South-Eastern Michigan 
        Internet Service Provider / Hardware Sales / Consulting Services
       Voice: (810)855-0404 / Fax: (810)855-3268 / Web: http://www.id.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512041900.OAA19588>