Originally Posted by kota
The program should work like finger command in an normal ubuntu OS.(which prints the user information)..
Please help me..)
Help you with WHAT?? All you've told us is what you WANT, but not shown anything that you've DONE.
There are many source-code examples for the finger program that you can easily find on the net...try Google. If you have a SPECIFIC question, post it, along with relevant details, and we might be able to help.