Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 1996 10:18:07 -0700 (PDT)
From:      Bill Paul <wpaul>
To:        CVS-committers, cvs-all, cvs-usrbin
Subject:   cvs commit:  src/usr.bin/chpass edit.c pw_yp.c
Message-ID:  <199606241718.KAA07608@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       96/06/24 10:18:06

  Branch:      usr.bin/chpass  RELENG_2_1_0
  Modified:    usr.bin/chpass  edit.c pw_yp.c
  Log:
  Merge in a couple of fixes from the HEAD:
  
  pw_yp.c:
  
  - Fix silly bug in copy_yp_pass().
  
  - In yp_submit(), use the password from the pw struct passed in as
    an argument instead of calling getpwnam() to find it: for one thing
    this is unnecessary since we already have the crypted password, and
    for another it cause us to pick the wrong password in the event that
    the user exists both in the local database and in YP.
  
  edit.c:
  
  - Change shell restriction policy: if the shell field isn't restricted
    and it's valid, or if the the user is root, allow the shell field to
    be edited.
  
  Revision  Changes    Path
  1.4.4.3   +8 -0      src/usr.bin/chpass/edit.c
  1.1.2.2   +23 -13    src/usr.bin/chpass/pw_yp.c



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