From 0ff8a29fa63c9a642eea465fd3d99423ecd05f44 Mon Sep 17 00:00:00 2001 From: pb Date: Tue, 29 Jun 1999 01:04:10 +0000 Subject: Move call to umask(0) back into pw_util(), because the latter function is also used by chpass(1) and passwd(1). --- usr.sbin/vipw/vipw.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.sbin/vipw/vipw.c') diff --git a/usr.sbin/vipw/vipw.c b/usr.sbin/vipw/vipw.c index dc04d06..4ab3017 100644 --- a/usr.sbin/vipw/vipw.c +++ b/usr.sbin/vipw/vipw.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)vipw.c 8.3 (Berkeley) 4/2/94"; #endif static const char rcsid[] = - "$Id: vipw.c,v 1.7 1999/06/26 10:45:06 sheldonh Exp $"; + "$Id: vipw.c,v 1.8 1999/06/26 12:15:39 pb Exp $"; #endif /* not lint */ #include @@ -100,8 +100,6 @@ main(argc, argv) usage(); pw_init(); - /* Create with exact permissions. */ - (void)umask(0); pfd = pw_lock(); tfd = pw_tmp(); copyfile(pfd, tfd); -- cgit v1.1