[Pkg-shadow-devel] [Git][debian/adduser][master] unset $ENV{"ENV"}

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Fri Feb 28 19:35:48 GMT 2025



Marc Haber pushed to branch master at Debian / adduser


Commits:
cee5e776 by Marc Haber at 2025-02-28T20:34:04+01:00
unset $ENV{"ENV"}

Thanks: Dan Jacobson
Closes: #1099089

- - - - -


2 changed files:

- adduser
- deluser


Changes:

=====================================
adduser
=====================================
@@ -238,6 +238,7 @@ log_trace("action $action");
 # this is also a good idea for sudo (which doesn't clean up)
 $ENV{"PATH"}="/bin:/usr/bin:/sbin:/usr/sbin";
 $ENV{"IFS"}=" \t\n";
+$ENV{"ENV"}=undef;
 
 ############################
 # checks related to @names #


=====================================
deluser
=====================================
@@ -185,6 +185,7 @@ $action = $0 =~ /delgroup$/ ? "delgroup" : "deluser";
 # this is also a good idea for sudo (which doesn't clean up)
 $ENV{"PATH"}="/bin:/usr/bin:/sbin:/usr/sbin";
 $ENV{"IFS"}=" \t\n";
+$ENV{"ENV"}=undef;
 
 ############################
 # checks related to @names #



View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/cee5e7764e070734ab0cb96e2105fdab3856fe59

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/cee5e7764e070734ab0cb96e2105fdab3856fe59
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20250228/b821ec1c/attachment.htm>


More information about the Pkg-shadow-devel mailing list