Sponsored Content
Full Discussion: Shell script password input
Top Forums Shell Programming and Scripting Shell script password input Post 302769711 by tomies on Wednesday 13th of February 2013 07:07:53 AM
Old 02-13-2013
Thanks that works perfect for me... Smilie

regards tommy
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell script with input parameter

Can anyone help me how to write a shell script which accepts input parameter. My requirement is as follows: I need to run a shell script with a input parameter, and inside the script i will create a file with this input parameter name. Please help me out to create such a shell script. ... (1 Reply)
Discussion started by: jhmr7
1 Replies

2. Shell Programming and Scripting

Input to shell script

Hi, I have 10 database instances runnning in one unix box. To connect to each database..i have to set the environment. I am trying to write a shell script to set my environment for database by just tying the oracle instance name After logging into the unix machine... i want to type the... (3 Replies)
Discussion started by: castlerock
3 Replies

3. Shell Programming and Scripting

shell script with input

Hi all, Here is my shell script #!/bin/sh echo "What is your name" read name echo "What is your surname" read surname echo "Your name is:${name} and your surname is:${surname}" How can I modify this script so that I input those two variables from console?Lets say my name is "first"... (3 Replies)
Discussion started by: c0mrade
3 Replies

4. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

5. UNIX for Dummies Questions & Answers

How to take input from excel for shell script.

i have both linux and windos installed on my pc . i want to take 1st column of excel as in input for my shell script .can anyone tell me how can i achive that. (1 Reply)
Discussion started by: nitin_aaa27
1 Replies

6. Shell Programming and Scripting

Input in shell script

Hello! Need help with the following: #!/bin/bash streamripper http://mp3-live.swr.de/swr2_m.m3u -D ~/RadioMitschnitt -l 200 > /dev/null 2>&1 I want to change the script so that it asks for an input for "-l 200" (means length 200sec) and starts then with the new value for "-l". Can I do this... (2 Replies)
Discussion started by: urug3170
2 Replies

7. Shell Programming and Scripting

password file as std input to script

I'm a fairly new AIX admin (disclaimer). We have SQL scripts written by end users that use a userid and passwd to connect to our DB2 database. Is it possible to create an "input file" that contains the db2 connect parameters and yet secure the file from the SQL creator? i.e., they can "use"... (2 Replies)
Discussion started by: mpheine
2 Replies

8. Shell Programming and Scripting

Script to input encrpyted password into htdigest (Apache)

Hey guys, This is my situation. I'm using the script to add a user account, however, i want the same details copied into the htdigest password list. the format is username:virtualservername:hashed/encrypted password. This is the command : sudo htdigest /etc/apache2/passwords... (0 Replies)
Discussion started by: xxxx
0 Replies

9. Shell Programming and Scripting

Input password to bash script, save, and enter when needed

I am looking for a way to start a script and have it prompt for a password that will be used later on in the script to SSH to another host and to SFTP. I don't want the password to be hard coded. Below is my script with the actual IP's and usernames removed. #!/usr/bin/expect -f... (2 Replies)
Discussion started by: jbrass
2 Replies

10. Shell Programming and Scripting

Help OS X script : password input

Hello Sorry for the question.. i would like to make a script for OS X that allow me to change the password for a user account. i have to use this script on several iMac with the same user/password. i want to store the passwords inside the script, no security problems involved. the... (9 Replies)
Discussion started by: araan87
9 Replies
RLFE(1) 						      General Commands Manual							   RLFE(1)

NAME
rlfe - "cook" input lines for other programs using readline SYNOPSIS
rlfe [-l filename] [-a] [-n appname] [-hv] [command [arguments ...]] DESCRIPTION
rlfe lets you use history and line-editing in any text oriented tool. This is especially useful with third-party proprietary tools that cannot be distributed linked against readline. It is not perfect but it works pretty well. OPTIONS
-a append to the logfile (default is to overwrite). -l filename log into file. -n appname set the readline application name. -h print usage string. -v print version information. SEE ALSO
readline(3) AUTHOR
Per Bothner PROBLEMS
/TODO When running mc -c under the Linux console, mc does not recognize mouse clicks, which mc does when not running under fep. Pasting selected text containing tabs is like hitting the tab character, which invokes readline completion. We don't want this. I don't know if this is fixable without integrating fep into a terminal emulator. Echo suppression is a kludge, but can only be avoided with better kernel support: We need a tty mode to disable "real" echoing, while still letting the inferior think its tty driver to doing echoing. Stevens's book claims SCR$ and BSD4.3+ have TIOCREMOTE. The latest readline may have some hooks we can use to avoid having to back up the prompt. Desirable readline feature: When in cooked no-echo mode (e.g. password), echo characters are they are types with '*', but remove them when done. A synchronous output while we're editing an input line should be inserted in the output view.PPbefore* the input line, so that the lines being edited (with the prompt) float at the end of the input. A "page mode" option to emulate more/less behavior: At each page of output, pause for a user command. This required parsing the output to keep track of line lengths. It also requires remembering the output, if we want an option to scroll back, which suggests that this should be integrated with a terminal emulator like xterm. RLFE(1)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy