How to know login ID

I used dtpasswd for user check like it does login here.
How can I know userid and password in CGI program after login?

and Is there a way to popup a dialog in Java Script like password check ?
 
kiyojieAsked:
Who is Participating?
 
icdConnect With a Mentor Commented:
(1)
Look for an environment variable REMOTE_USER which should be set once the user has logged in.
(2)
Depends. (Well what you you expect for ten point! :-) )
0
 
kiyojieAuthor Commented:
What does words "should be set once the user has logged in."  mean ?
REMOTE_USER value always has null in cgi program.
(ie : getenv("REMOTE_USER")   )
Please give me more detailed answer.
0
 
icdCommented:
I suggest if you want a very detailed answer you ask the question again and offer more points ;-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.