[BACK]Return to edit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / chpass

Diff for /src/usr.bin/chpass/edit.c between version 1.31 and 1.32

version 1.31, 2007/11/17 16:47:21 version 1.32, 2009/03/05 20:53:13
Line 110 
Line 110 
                     *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL);                      *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL);
         }          }
         /* Only admin can change "restricted" shells. */          /* Only admin can change "restricted" shells. */
         else if (ok_shell(pw->pw_shell))          else if (ok_shell(pw->pw_shell, NULL))
                 /*                  /*
                  * Make shell a restricted field.  Ugly with a                   * Make shell a restricted field.  Ugly with a
                  * necklace, but there's not much else to do.                   * necklace, but there's not much else to do.

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32