When using su, user displayed by "who -m" is always the user who first issued telnet to the host. You can then in root's .profile get result of this command and compare to a valid user list (only readable and writable by root).
Regards,
Fred
--
"Reality is just a point of view." (P. K. D.)