Help:

I am writing a Java program to run on Solaris (and probably AIX too) that
opens a
socket for requests. The request will come from a Win98/NT PC. The request
data
will include some function to be performed plus a valid Solaris userid and
password
(i.e. The normal userid & password that the user would use to log onto Solaris
box via telnet.).

I would like to make 1 or 2 class/method calls to verify that not only is
the userid valid
on box where the tool is running but also it is really the correct user (assuming
of
course the user didn't give out their password <grin>). I don't want to
maintain a
userid/password list, I want to go against the OS via Java.

Does anybody know how you do anything like this?? I'm not an expert Java
programmer
(or OO programmer) so sample code would be greatly appreciated.

Thanks for your help.

later
Roger...