When I log in Xenix, running /bin/sh, the environment variable LOGNAME and USER are not set. And Xenix doesn't have whoami command. Is there any quick way to to get users login id other than id command (which you have to parse it to get the login id) Nhan Tran