On 09/03/2025 11:08, Bruno Haible via Gnulib discussion list wrote:
I wrote:
With this, coreutils should be fine, since it already imports the 'getlogin'
module from gnulib.
Verified by comparing coreutils-9.5 with coreutils-HEAD on Alpine Linux 3.20:
With coreutils-9.5:
$ logname
bruno
$ su -
Password:
# logname
root
Now:
$ logname
bruno
$ su -
Password:
# logname
bruno
Paul, Pádraig: How about adding a coreutils/NEWS entry for this bug fix?
I pushed an update to coreutils NEWS mentioning the fix.
Marking this as done.
thanks!
Pádraig.