|
How to I run a command in a shell script auto prompting yes to prompt to the use, so I can automate a script?
Started by Daniel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
If by "commands....
Most commands that are regularly used in scripts have options that you can use to automatically respond confirmation messages .
You should read the docs for the commands you are using in your script .
Expect is the usual tool for this.
|
|
How can I make Firefox automatically remember all passwords without prompting?
Started by KalEl on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Looks like this site here has the answer you are lookin' for here
It states that you must have all instances of Firefox closed, navigate to the "C:\Program Files\Mozilla Firefox\components\" directory, open up nsLoginManager.js and comment out lines 1... .
|
|
I'm creating an intranet web-application in an IE shop and I'm looking to retrieve the user's logged-in computer username without prompting for a username/password combination. This is easy, until the application is placed on a webserver. It seems that...
Started by Mark on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Basically make sure the users IE browser in your domain will authenticate the user without prompting them.
|
Ask your Facebook Friends
|
I wrote a simple shell script to dump a specific mysql database. problem is it is prompting me for a password even though I provide on. The mysql db is version 5.0.27 if that matters. Here is the specific line I am using.
$MYSQLDUMP -u backup -p$MyPass...
Started by aduljr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
If, on the other hand, you supplied an incorrect password (or the wrong .
They should prompt for the password.
|
|
I'm prompting the user for a filename, if they enter a valid filename the first time, it works. However, if its invalid the first time, every other check fails. How would I fix this? Also, let's say they just specify a directory, how would I get the names...
Started by Justen on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If (!inFile) { cout << "\n**File failed to open**\n\n"; inFile... .
You need to reset the error bits before you do anything else .
This is because the error bits in the object 'inFile' have been set .
Call clear to reset the state before the call to open .
|
|
I need to prompt a user to save their work when they leave a page. I've tried onbeforeunload but I need to show a styled prompt not the usual dialog box. Facebook has managed to achieve this (if you have a Facebook account, edit your profile info and ...
Started by Akeem on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Take a closer look at what Facebook is doing: you get a prompt if you click a link on the page.
|
|
I have prompted for user name and password while installing the my windows service created in c#. And, i used the installutil tool to install my service. What is the reason for asking the user name password credentials. and please help me to solve this...
Answer Snippets (Read the full thread at stackoverflow):
This is not a problem, it is supposed to work... .
To identify you and to set your access levels and permissions on windows .
Your windows service needs a user name and password for the same reason that you are asked for your username and password on login .
|
|
I have a capistrano deployment recipe I've been using for some time to deploy my web app and then restart apache/nginx using the sudo command. Recently cap deploy is hanging when I try to execute these sudo commands. I see the output: "[sudo] password...
Started by MikeN on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For....
Add the following line in your capistrano deploy file:
default_run_options[:pty] = true
Also make sure to use the sudo helper instead of executing sudo in your run commands directly .
This seems to happen when connecting to CentOS machines as well .
|
|
I'm trying to put together a wrapper around a console application using StandardInput and StandardOutput. I'm getting stuck where the console application would prompt for input such as a password.
I'd like to read from StandardOutput, prompt the user ...
Started by John Clayton on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Char[] b = new char[1024]; while.
Is expected, but you will be able to detect that a prompt is displayed.
|
|
I had a msdn registered copy of Expression Studio installed on my machine and recently got a paid licensed copy. I uninstalled it and removed what I could find in the registry that looked related. However every time I try to install Expression to use ...
Started by jwarzech on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This is ....
Are you sure that the licensed copy hasn't got the serial key pre-pidded (as they say) .
I never got prompted for expression studio installing it for the first time? Plus in the long run as long as you own a license you are good to go.
|