I want program to think I am at master console

We have an interactive program that when I execute some of its commands through telnet, it complains, "Command must be executed from master console". Can executing this program from a shell through telnet get around this problem? Can cron get around this? Thanks.

Lets assume for the moment that you do not have the source code for the application that you are running.
The application program has to determine if the terminal session is the console or not.
There are various ways of determining the terminal id.
One is by examining the output of "who am i'
Another is by examining the output of 'tty'
Or the script that starts the program may create an environment variable containing the output of one of the above.
You will have to determine if it is possible to spoof the console id for the actual terminal id.