Login error....

We have a situation where one of my users log's into my Solaris box and gets the followin error.....
rsh marvin
Last login: Tue Jun 28 07:28:18 from lvie450
ld.so.1: whoami: fatal: libgen.so.1: can't open file: errno=2 Killed /home/username @marvin>

Anyone have any idea?

Frank

Maybe the better reason is to reinstall syslog.
Or just use other OS, like Linux, FreeBSD, OpenBSD

Is it just the one user that is facing problems? From the error it seems that the whoami command is trying to access either the ld.so.1 or the libgen.so.1 library and not finding them. (errno=2 is ENOENT -> file not found).

You can provide a program with library information using the LD_LIBRARY_PATH environment variable. Get the locations of both these libraries using the find command and add the following lines in the user's login files:

if using sh/ksh/bash, in $HOME/.profile
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<put in the directories where you found the library files in a ':' seperated fashion>
export LD_LIBRARY_PATH

if using csh/tcsh, in $HOME/.login
setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH:<put in the directories where you found the library files in a ':' seperated fashion>"

Hope this helps! Cheers!

P.S. Just found a site. Some info about LD_LIBRARY_PATH: go here .