]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: check for valid shell argument 187/head
authorMichael Vetter <jubalh@iodoru.org>
Mon, 11 Nov 2019 12:10:51 +0000 (13:10 +0100)
committerMichael Vetter <jubalh@iodoru.org>
Mon, 11 Nov 2019 12:46:25 +0000 (13:46 +0100)
commit88fa0651bfa4be0c819da0027456f5046a3b4967
treea4f34fd7491bd4e4af332ed4094ad8a48a5a218d
parent59c2dabb264ef7b3137f5edb52c0b31d5af0cf76
useradd: check for valid shell argument

Check whether shell argument given with `-s` is actually present and executable.
And is not a directory.

Fix https://github.com/shadow-maint/shadow/issues/186
src/useradd.c