]> git.ipfire.org Git - thirdparty/util-linux.git/commit
(log_su): Resort to getpwuid if getlogin fails.
authorJim Meyering <jim@meyering.net>
Tue, 18 Mar 1997 12:49:20 +0000 (12:49 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 18 Mar 1997 12:49:20 +0000 (12:49 +0000)
commit1ae8eaf31a8ee0994ce2de80db87a64478ad1a06
treead6ccf1f0694b3ea072f15737e7e8e7a776470fe
parent8dab0101c04217a0ee75a19c4de25116914c1677
(log_su): Resort to getpwuid if getlogin fails.
If no tty name is found, use `none' in the log message.
Based on a patch from Galen Hazelwood.
login-utils/su.c