Re: [nlug] Forking?

2015-02-27 Thread Paul Boniol
expect looks very interesting. I've never used it before. I will have to make some time to play around with it to see what all it can do. Paul On Fri, Feb 27, 2015 at 9:58 AM, Brandon Oglesby bogle...@gmail.com wrote: What about an expect script that takes your password as a parameter? On

Re: [nlug] Forking?

2015-02-27 Thread Paul Boniol
Ah yes! Ctrl-Z and bg. One of those things taught way back when I used a Sun workstation, that I had never really had much need (till now). Always good to get a refresher on some of the basics. Thanks! Paul On Fri, Feb 27, 2015 at 9:48 AM, Tilghman Lesher tilgh...@meg.abyt.es wrote: After

Re: [nlug] Forking?

2015-02-27 Thread Tilghman Lesher
I would advise against placing a password on the command line. Unless you are certain that everybody with a login to your machine can be trusted not to use that password without authorization, then that password will remain in the processlist (viewable with ps) for the duration of the process. I

Re: [nlug] Forking?

2015-02-27 Thread Brandon Oglesby
What about an expect script that takes your password as a parameter? On Fri, Feb 27, 2015 at 5:12 AM, Paul Boniol paul.bon...@gmail.com wrote: I need to run a provided program from the command line. It starts an X program. It then prompts for a password from the command line. I'd like to

[nlug] Forking?

2015-02-27 Thread Paul Boniol
I need to run a provided program from the command line. It starts an X program. It then prompts for a password from the command line. I'd like to continue on at the command line after entering the password (rather than having to open another bash session) while the program continues to run. You

Re: [nlug] Forking?

2015-02-27 Thread Paul Boniol
As Tilghman advises, I would not place this password on the command line. (Even with me supposedly being the only person who can log onto this machine. Yes, I'm probably overly paranoid about security, but that helps prevent very bad future headaches. :-) ) I don't even want to have the