SqlMenu "runmenu": how to hide parameters?

From: David Robert Dymm <dymmd_at_source.asset.com>
Date: 7 Jan 1994 16:09:36 -0500
Message-ID: <2gkj2g$sbv_at_source.asset.com>


I am using SqlMenu to create the interface for an application. My application is started by a shell script with a line such as:

  runmenu50 my_application $(menu_user) -m fullscreen -c $TERM:$TERM

where "menu_user" is a function in the shell script that returns the username and password. The problem with this approach is that executing the command "ps -aef" on our system will produce a listing that shows the command "runmenu50" with all of its parameters. Which means that users can see the username/password in this listing. I would like to keep the username/password hidden from users. How can I do this? Can I create a C program, link with an Oracle library and call "runmenu" directly from C? Is there a way to call "runmenu" from a shell script and hide the username/password parameter?

I am using two RS-6000s running: AIX 3.2.4 with Oracle 6.0.43.2.1; and AIX 3.2.5 with Oracle 7.0.15.4.0. Whatever solution I come up with must work on both platforms.

       |
     _/|__  _    David Robert Dymm                     dymmd_at_source.ASSET.com
   _/   * |/_\   
  /       _/     SAIC/Asset Source for Software Engineering Technology (ASSET)
 (       /       2611 Cranberry Square                 VOICE:  (304) 594-1762
  \____/         Morgantown, WV  26505                 FAX:    (304) 594-3951


+--------------------------------------+
| Nature is always willing, | | and constantly waiting, |
    | to fashion things of wondrous beauty |
+--------------------------------------+
Received on Fri Jan 07 1994 - 22:09:36 CET

Original text of this message