diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-07-20 01:04:38 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-07-20 01:04:38 +0000 |
commit | c4fa11204f8f715c6a61bb21df56dc2665304c41 (patch) | |
tree | 5545b087a9ae050c3dac3e5dcd4101ddc77d142e /usr.bin/doas | |
parent | 559fd6b05fe04c31ed35450dfe5672f2fb24a568 (diff) |
sf points out sudo doesn't allow SHELL in children
Diffstat (limited to 'usr.bin/doas')
-rw-r--r-- | usr.bin/doas/doas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doas/doas.c b/usr.bin/doas/doas.c index 241b2ab59cd..8a562f3eb24 100644 --- a/usr.bin/doas/doas.c +++ b/usr.bin/doas/doas.c @@ -1,4 +1,4 @@ -/* $OpenBSD: doas.c,v 1.13 2015/07/20 01:00:48 tedu Exp $ */ +/* $OpenBSD: doas.c,v 1.14 2015/07/20 01:04:37 tedu Exp $ */ /* * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * @@ -188,7 +188,7 @@ static char ** copyenv(const char **oldenvp, struct rule *rule) { const char *safeset[] = { - "DISPLAY", "HOME", "LOGNAME", "MAIL", "SHELL", + "DISPLAY", "HOME", "LOGNAME", "MAIL", "PATH", "TERM", "USER", "USERNAME", NULL }; |