10.32 Is there any way to have a program execute when a user logs in, just like .profile does in many operating systems?

Set up a UDC that looks like this:

OPTION NOBREAK,NOHELP,LOGON
CONTINUE
RUN MYPROG
BYE

Then hook the users you wanted to the UDC by issuing the SETCATALOG command: SETCATALOG UDC;USER=user.account

Note that in MPE/iX 6.5, you might want to consider the NEWCI command instead of RUN.