]> git.ipfire.org Git - thirdparty/shadow.git/commit
Replace the deprecated getpass(3) by our agetpass()
authorAlejandro Colomar <alx@kernel.org>
Tue, 27 Sep 2022 19:21:35 +0000 (21:21 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 5 Dec 2022 09:47:19 +0000 (10:47 +0100)
commit554f86bafa2581d81ffb39e92240e39d630c43c4
tree09359711a5950b174bc5d6019f3f65a12220f2f3
parent155c9421b935202a550193b15dfd4eba014d21df
Replace the deprecated getpass(3) by our agetpass()

getpass(3) is broken in all implementations; in some, more than
others, but somewhat broken in all of them.  Check the immediate
previous commit, which added the functions, for more details.
Check also the Linux man-pages commit that marked it as
deprecated, for more details:
7ca189099d73bde954eed2d7fc21732bcc8ddc6b.

Link: <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit?id=7ca189099d73bde954eed2d7fc21732bcc8ddc6b>
Reported-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/gpasswd.c
src/newgrp.c
src/passwd.c
src/sulogin.c