>     private static String getUnixUserShell()
>     {
>         return "/bin/sh";
>     }
> 
> !!!!!!!!! and will always work.
> 
> Niclas

Yes Niclas it will always work but if the user added MERLIN_HOME 
to their .bashrc in their home directory then the Env variable is
never picked up.  That's why you need the user's default shell.

Unfortunately, I had to add the code to read the damn passwd file
to figure that out.  How else would you find out?  Look at my email
here on the 6 different ways we can solve the problem:

http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=2334

Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to