This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Force umask to 022 so we don't heritate 077 from root's crontab command
(output logs are still umask 077) "i think this is right" deraadt@
OPENBSD_4_1
ajacoutot
18 years ago
parent
6ef96ef049
commit
a7f30172a7
3 changed files
with
7 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/etc/daily
+2
-1
src/etc/monthly
+2
-1
src/etc/weekly
+ 3
- 1
src/etc/daily
View File
@ -1,8 +1,10 @@
#!/bin/sh -
#
# $OpenBSD: daily,v 1.5
5 2006/10/04 17:46:34 deraad
t Exp $
# $OpenBSD: daily,v 1.5
6 2006/10/26 12:20:55 ajacouto
t Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
umask 022
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
bak=/var/backups
+ 2
- 1
src/etc/monthly
View File
@ -1,5 +1,6 @@
#!/bin/sh -
# $OpenBSD: monthly,v 1.6 2005/11/12 16:14:37 jmc Exp $
# $OpenBSD: monthly,v 1.7 2006/10/26 12:20:55 ajacoutot Exp $
umask 022
if [ -f /etc/monthly.local ];then
echo ""
+ 2
- 1
src/etc/weekly
View File
@ -1,7 +1,8 @@
#!/bin/sh -
#
# $OpenBSD: weekly,v 1.1
7 2006/10/06 04:50:31 hugh
Exp $
# $OpenBSD: weekly,v 1.1
8 2006/10/26 12:20:55 ajacoutot
Exp $
#
umask 022
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
export PATH
Write
Preview
Loading…
Cancel
Save