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

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Tue Mar 25 07:35:10 GMT 2025



Marc Haber pushed to branch master at Debian / adduser


Commits:
1690913b by Marc Haber at 2025-03-25T08:35:05+01:00
unset $ENV{CDPATH}.

Thanks: John Darrah

- - - - -


2 changed files:

- adduser
- deluser


Changes:

=====================================
adduser
=====================================
@@ -222,6 +222,7 @@ $ENV{"PATH"}="/bin:/usr/bin:/sbin:/usr/sbin";
 $ENV{"IFS"}=" \t\n";
 $ENV{"ENV"}=undef;
 $ENV{"BASH_ENV"}=undef;
+$ENV{"CDPATH"}=undef;
 
 # everyone can issue "--help" and "--version", but only root can go on
 if( $> != 0) {


=====================================
deluser
=====================================
@@ -163,6 +163,7 @@ $ENV{"PATH"}="/bin:/usr/bin:/sbin:/usr/sbin";
 $ENV{"IFS"}=" \t\n";
 $ENV{"ENV"}=undef;
 $ENV{"BASH_ENV"}=undef;
+$ENV{"CDPATH"}=undef;
 
 # everyone can issue "--help" and "--version", but only root can go on
 if( $> != 0) {



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

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/1690913b65818f16f175126d98a1d206ffe5ed72
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/20250325/0939f27c/attachment.htm>


More information about the Pkg-shadow-devel mailing list