On our systems are many scripts that execute rsh or ftp commands. I would like to log what script calls rsh or ftp. I've tried to catch it with $$ and $0 at the moment a script starts but they only return the PID from ksh and the last run command which is rsh or ftp.
Is there someone who has an tip or solution?
Is there someone who has an tip or solution?