Shell Script for User AUTH Help

No Sir - not working - I did your other tip that to key in the password and supply. I was trying to do it in real fashion like - the user I know in my group to allow the access - so who -b and I list my users against that. Which did not work.

---------- Post updated at 10:42 PM ---------- Previous update was at 04:41 AM ----------

any inputs on this please - I need set of users only to run this script based on there UNIX user names - so I need to predefine the user names with in the script so that it will ask "what's your username" question when they type in which I have approved or allowed in the script only should able to execute else exit them or it should ask for there own unix id password? how do I do this?

Honestly I don't know, I thought that would work. I'm at the end of my knowledge level on that...Sorry.

nps Sir - thank you I have learn some scripting skills from you.