Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 05:15:45 -0700 (PDT)
From:      Pierre Beyssac <pb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/vipw pw_util.c vipw.c
Message-ID:  <199906261215.FAA18022@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
pb          1999/06/26 05:15:44 PDT

  Modified files:
    usr.sbin/vipw        pw_util.c vipw.c 
  Log:
  Force umask to 077 (instead of 000) during the edit phase, to get
  secure permissions in case the user attempts to save something to
  a file of his own.
  
  Move umask stuff out of pw_init() into main() for better visibility
  of overall umask tweaking logic.
  
  PR:		misc/11797
  
  Revision  Changes    Path
  1.15      +1 -4      src/usr.sbin/vipw/pw_util.c
  1.8       +5 -1      src/usr.sbin/vipw/vipw.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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