I would like to write a script that will automatically mount a share using sharity when a user logs in. My platform is IRIX. I've written a script that works fine from the command line, but it prompts the user to enter the password there at the command line. If I try to run this script through the GUI by double-clicking the icon of the script, there is a problem, since the GUI dialog window does not pop up. The prompt goes to the console instead of the GUI, and the prompts are just rolling along with error messages in between.
I know I could use the -P option in the script, but then I'd have to put the password in the script (bad security) and make a different script for each user (tedius). Is there an "official" solution for this problem? I discovered an approach for a work-around by accident. If I double-click the script, then send that process a kill -HUP, then the GUI dialog pops up and asks for the password! This is a bit awkward, but I might be able to script something that uses it. Dave _______________________________________________ Sharity-talk mailing list [EMAIL PROTECTED] To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk
