From owner-cvs-all Sat Jun 26 5:15:47 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CBB2714DE1; Sat, 26 Jun 1999 05:15:45 -0700 (PDT) (envelope-from pb@FreeBSD.org) Received: (from pb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA18022; Sat, 26 Jun 1999 05:15:45 -0700 (PDT) (envelope-from pb@FreeBSD.org) Message-Id: <199906261215.FAA18022@freefall.freebsd.org> From: Pierre Beyssac Date: Sat, 26 Jun 1999 05:15:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/vipw pw_util.c vipw.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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