NetBSD/usr.sbin
christos c2b5bf99ef PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
..
ac Fix typo. Spotted by Adrian Mrva. 2002-10-02 15:41:53 +00:00
accton The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
altq Make '?' work in interactive mode. Fixes PR bin/19949 by Christian Biere. 2003-02-01 17:13:14 +00:00
amd Restore RCS Id, lost during last update. 2003-03-09 17:57:50 +00:00
apm .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
apmd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
arp .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
bad144 .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
bind use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
bootp guarantee, not guarentee. Idea from miod@openbsd. 2003-02-02 10:24:38 +00:00
catman .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
chown .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
chroot .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
chrtbl tweaks for fparseln(3) move from libutil to libc: 2002-11-30 03:10:53 +00:00
cnwctl
config .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
cron PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3) 2003-03-14 21:56:07 +00:00
dev_mkdb Set explicit database layout. Default is filesystem block size 2002-12-15 18:23:00 +00:00
dhcp minor makefile delint 2002-09-18 13:31:52 +00:00
diskpart correct partition structure initialization for new union 2002-05-27 16:39:29 +00:00
dumpfs use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
dumplfs Add option to check partial-segment data checksums. 2003-03-07 22:50:09 +00:00
edquota .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
eeprom .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
envstat Not all size_t's are equal to int... 2003-02-21 07:23:43 +00:00
eshconfig
etcupdate Checksum files produced by "etcupdate -a" should not be stored in /etc 2003-03-03 14:07:11 +00:00
faithd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
grfconfig .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
grfinfo use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
gspa Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
hilinfo use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
hprop add DPADD 2002-10-23 01:11:09 +00:00
ifmcstat Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're 2002-08-02 03:58:09 +00:00
ifwatchd Run "arrival" scripts too in the inital pass on startup. 2003-03-06 13:33:29 +00:00
inetd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
installboot .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
iopctl The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
iostat - Account the number of lines consumed so that -xw displays header 2003-03-01 07:40:58 +00:00
ipf use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
irdaattach .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
isdn .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
iteconfig .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
kadmin style 2002-10-23 01:09:50 +00:00
kdc add DPADD 2002-10-23 01:09:37 +00:00
kgmon .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
kstash add DPADD 2002-10-23 01:11:09 +00:00
ktutil add DPADD 2002-10-23 01:11:09 +00:00
kvm_mkdb Define NLIST_ELF32 and Define NLIST_ELF64 for SH5. 2002-07-11 19:15:54 +00:00
lastlogin
link Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
lpr .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
mailwrapper Revert previous changes. Add a comment to the source explaining the 2003-03-09 08:10:43 +00:00
makefs support 1234 and 4321 as valid byte-order arguments for -B 2003-03-10 10:02:58 +00:00
map-mbone Add license, from OpenBSD. 2003-03-05 21:56:26 +00:00
mdconfig Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
mdsetimage Include -DNLIST_ELF64 for x86_64. 2002-12-10 17:59:41 +00:00
memswitch .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
mld6query null commit 2002-09-23 12:44:34 +00:00
mlxctl The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
mopd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
mountd through, not throught. 2003-01-06 12:29:48 +00:00
moused The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
mrinfo Add license, from OpenBSD. 2003-03-05 21:59:59 +00:00
mrouted This seems to need a -I${.CURDIR} these days. 2003-03-07 01:06:05 +00:00
mscdlabel clean up {LD,DP}ADD. no need to set WARNS=1 here 2002-11-30 06:00:42 +00:00
mtrace Update license, from OpenBSD. 2003-03-05 22:04:59 +00:00
mtree .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
ndbootd select() -> poll(), nanosleep() 2002-09-19 16:45:57 +00:00
ndp use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
netgroup_mkdb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
nfsd Fix PR 18391, from Geoff Wing. 2002-09-24 17:32:03 +00:00
ntp .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
pcictl sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
pkg_install .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
pppd PR/20065: John F. Woods: Fix pluggin compilation 2003-01-26 17:34:19 +00:00
pstat revert previous 2003-02-11 00:45:02 +00:00
pvcsif Sort sections and SEE ALSO, use standard headers. 2002-02-02 01:37:13 +00:00
pvctxctl Punctuation nits, sort sections and SEE ALSO, improve markup, use standard headers. 2002-02-02 01:38:54 +00:00
pwd_mkdb use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
quot Use standard headers. 2002-02-02 01:39:23 +00:00
quotacheck .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
quotaon .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
racoon Don't explicitly add -Wall -Werror -g to CFLAGS, the .mk infrastructure 2002-11-24 21:54:38 +00:00
rarpd Fix date typo, Oct 27 -> 17. 2002-10-21 13:55:11 +00:00
rbootd null commit 2002-09-23 12:44:34 +00:00
rdate ANSIfy. Remove ifndef __STDC__. Remove __P(). 2002-07-14 01:01:10 +00:00
repquota .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rip6query use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
rmt getstring() safer by passing buffer size. millert@openbsd 2002-07-04 06:43:19 +00:00
route6d .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rpc.bootparamd The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
rpc.lockd fix a typo in the previous. 2003-03-14 14:10:00 +00:00
rpc.pcnfsd The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
rpc.statd Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
rpc.yppasswdd Use a non-blocking SVC for TCP connections. 2002-11-08 00:14:50 +00:00
rpcbind .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rtadvd correct use of sizeof 2003-03-14 18:43:52 +00:00
rtsold .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
rwhod PR/20318: Johnny Billquist: rwhod does not compile with -DDEBUG 2003-02-12 17:49:35 +00:00
sa The correct capitalisation of 'NetBSD.org' is (you 2003-02-14 16:11:34 +00:00
screenblank .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
sendmail
sesd fix english 2003-01-06 14:43:01 +00:00
sliplogin strncpy -> strlcpy to ensure string termination 2002-11-16 04:29:01 +00:00
slstats new copyright notice for VJ. via openbsd. 2002-06-18 22:32:16 +00:00
spray Drop a superfluous .Pp. 2002-02-02 01:54:29 +00:00
sunlabel We don't actually need libutil when building as a hostprog. 2003-03-13 04:50:53 +00:00
sup success, not sucess. Noted by mjl. 2003-01-28 22:35:02 +00:00
sushi .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
syslogd .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
tadpolectl always has only one l, from Adrian Mrva. 2002-12-21 12:48:05 +00:00
tcpdchk debugging log message committed by mistake (rev 1.8). catched by lukem 2002-12-26 14:11:28 +00:00
tcpdmatch use NETBSDSRCDIR as appropriate 2002-09-19 12:08:37 +00:00
tcpdump correct LBL_ALIGN behavior, sync with tcpdump.org. 2002-10-18 23:13:57 +00:00
timed .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
tpctl .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
traceroute "Utilize" has exactly the same meaning as "use," but it is more 2003-02-04 23:07:28 +00:00
traceroute6 sysctl/setsockopt takes int, not u_long. 2003-01-21 09:15:54 +00:00
trpt Update for callout changes, and show TCP timers in relative, rather 2003-02-04 01:22:08 +00:00
trsp die if out-of-range address is specified to -p 2002-11-16 04:20:42 +00:00
unlink Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
usbdevs KNF- blank line at start of a function with local variable declarations. 2003-01-20 01:14:35 +00:00
user This addresses PR 20156. isalnum(), isdigit() and isspace() are used with 2003-03-14 16:56:39 +00:00
videomode use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
vipw .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
vnconfig .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
wiconfig Sync SYNOPSIS with DESCRIPTION. From Igor Sobrado in PR 19654. 2003-01-04 01:10:47 +00:00
wsconscfg .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
wsfontload .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
wsmoused Use both -I. for generated .h files, and -I${.CURDIR} for include "foo" 2003-03-07 01:31:30 +00:00
wsmuxctl .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
ypbind ANSIfy, remove __P(), unifdef __STDC__. 2002-07-06 21:44:40 +00:00
yppoll Avoid strict alias warning. 2002-12-06 15:21:08 +00:00
ypserv .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
ypset sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
zdump use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
zic use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
Makefile Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead 2003-03-05 22:09:07 +00:00
Makefile.inc