kill process owned by another user

How can I kill a process owned by user1? I will be using another user (user2) (not root) and we are on the same primary and secondary group. I copied everything including it's .profile and set the path accordingly.

user1@hostnmae0:/home/user1 $ pkill java
pkill: Failed to signal pid 1234: Not owner
user1@hostnmae0:/home/user1 $ 

pls assist

---------- Post updated at 05:14 PM ---------- Previous update was at 05:03 PM ----------

solaris8.
they say use an suid program? do you have any xamples? I created actually 4 users to replace the generic ID which runs the program.

You should switch to the process owner id or root.
Or configure sudo stuff so that it authorize your current user to kill other processes via sudo.

actually I will not allow them to use sudo or switch to root. they are only common users which I created to replace the generic ID.