]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-util: extra paranoia, make sure $SHELL can't be fucked with in suid programs
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Mar 2019 14:52:06 +0000 (15:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Mar 2019 15:10:55 +0000 (16:10 +0100)
commitb2a3953f817d8db15393e30d1f46e4fa85fcf23a
tree98900e5bce49ed243b8af16bc936505caba146e4
parent9e73208afc7cf8dbeb4733e08b93393cc8f2ce8a
user-util: extra paranoia, make sure $SHELL can't be fucked with in suid programs

It's better to be safe than sorry, let's not allow overriding of the
user shell in suid binaries. Similar for $USER.
src/basic/user-util.c