To provide restricted access to certain user's on linux box

Hi,

I need to provide execute access to certain users and not to all users

For ex: if ther is a file /home/august/aug.sh.

and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for that box. So if use "chmod 777 /home/august/aug.sh" using root login then all the users wil get execute access(which i shuld not give). So wat shuld i do to give execute access only to feb and mar users.

You can make those members part of a group and assign execute permission to the group.

eg Supposing group is execute

usermod -G execute feb
 chmod 754 /home/august/aug.sh

Do i need to execute the above code using root login or by using the owner of the group. Also wat s d command to chk who r al d users of that box?

Above code is to be executed using root login. Group must exist, if it doesn't you need to create that first.

All users are listed in /etc/passwd file with uid > 500.

I suggest you study a bit more about linux/unix first before executing commands as root.