FellowCraft
Programmer
I would like to write a program using gnu C++ (g++) on a FreeBSD machine. My problem is any output (standard output)will be taken as a password to start apache with mod_ssl. I want to be able to prompt the user for the password. I know Unix has standard output and standard error. Both display to the terminal (by default). If I can display to standard error I don't think apache will take that as the password.
In short "How do I write to standard error with c++"
If this does work I will also want to know how to hide the user input so it will not be displayed on the screen as it is typed.
In short "How do I write to standard error with c++"
If this does work I will also want to know how to hide the user input so it will not be displayed on the screen as it is typed.