The list of conditions determining if iruserok() and ruserok() functions automatically fail is incomplete. According to glibc source code, the functions also fail if the .rhosts file is hardlinked anywhere. --- man3/rcmd.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/rcmd.3 b/man3/rcmd.3 index 33eae3c..f32fe52 100644 --- a/man3/rcmd.3 +++ b/man3/rcmd.3 @@ -200,8 +200,8 @@ in the local user's home directory is checked to see if the request for service is allowed. .PP If this file does not exist, is not a regular file, is owned by anyone -other than the user or the superuser, or is writable by anyone other -than the owner, the check automatically fails. +other than the user or the superuser, is writable by anyone other +than the owner, or is hardlinked anywhere, the check automatically fails. Zero is returned if the machine name is listed in the .IR hosts.equiv file, or the host and remote username are found in the -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html