HIIIIIII,,and thanx for helping me..but their appears to be some confusion in the case of this linux account checking.i can't use getpwnam as it checks for the password where in all that i require is that the user name entered in the login form must b there in the linux account.so i don't have to check password rather just the name.
thank u.please guide me to overcome the error of "not enough arguements"..ypcat passwd |grep name works well in genral unix enviornment.