Sponsored Content
Top Forums Shell Programming and Scripting How to pass passwords to bash scripts? Post 302083199 by siegfried on Friday 4th of August 2006 03:58:53 PM
Old 08-04-2006
stty does not work

Unforunately, it appears that the linux distribution (openwrt) on my linksys router does not have the stty command.

It is still good to know, however.
Thanks,
Siegfrieed
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to pass values from one file to different scripts

Hi Gurus, Iam new to Unix. I had a requirement where i should use a file for example Host.sh or Host.txt Host = 555.254.45.14 username = aaaa pwd = SSSSSS123 And this file need to be used in different scripts. For example i have script1.sh where i want to use the values of... (6 Replies)
Discussion started by: pssandeep
6 Replies

2. Shell Programming and Scripting

Checking passwords - scripts

Hi Unix experts.... I am in the process checking user and root password of more than 1000 servers manulay. I am very pissed of checking these many servers manualy. Could some one of you help me how can i check the passwords just by runing some scripts..! Need Help Guys..! :confused: (5 Replies)
Discussion started by: bullz26
5 Replies

3. Shell Programming and Scripting

Oracle Passwords in Unix scripts

Hi Most of the shell scripts I am dealing with have to connect to oracle database . The username password is stored in a environment file which sets the variables for username and password . Set user id do not work on AIX so users who will execute these scripts need to have read or execute... (5 Replies)
Discussion started by: clifford
5 Replies

4. Shell Programming and Scripting

How to pass values between awk and shell scripts

I know that we can call system command to execute shell script in awk. but it does not return the result of the command executed , but only returns the value of the command executoin status ( 1/0 --> failure / success). Could anyone let me know how to solve this problem. (9 Replies)
Discussion started by: rajnikanth.1912
9 Replies

5. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./script.sh I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

6. Shell Programming and Scripting

SSH - Passing Unix login passwords through shell scripts

Hi All , I need to call a script runscript_B.sh on server A, the runscript_B.sh script locating in server B. The runscript_B.sh in calls another script runscript_A on server A itself. it seend, i need to be connect from Server A to Server B using ssh. I have tryed like this in... (3 Replies)
Discussion started by: koti_rama
3 Replies

7. Shell Programming and Scripting

Bash for multiple accounts with auto-gen passwords

Hello, I am studying few things on unux and scripting. I need a script to create bulk users in unux. I need some assistance from you for creating 100 or more User IDs using a bash script: Here's my requirements: 1. I need to create 100 or even more user ids of different naming... (1 Reply)
Discussion started by: Shelldorado
1 Replies

8. Shell Programming and Scripting

How to pass variables between scripts?

Hello, I have two bash scripts like the following: script 1: #!/bin/bash var=WORLD bash path/to/second/script/script2.bash script 2: #!/bin/bash echo "HELLO $var" I expected the output to be "HELLO WORLD" but instead, I get "HELLO". I understand that when I envoke another bash... (2 Replies)
Discussion started by: jl487
2 Replies

9. Shell Programming and Scripting

How to store the passwords securely and use in scripts?

I want to store the passwords in a global file, so that all the users will not use them to login but a process should use it. One way is to keep the passwords in a .ini file and execute the file in the start of the script and use that variable. But with this, one can echo the variable in the... (15 Replies)
Discussion started by: karumudi7
15 Replies

10. Shell Programming and Scripting

Bash script - How to update header of scripts in one pass - multiline search/replace

Hello. A find command return a list of file. For each fileReplace the content starting with the first "§" (of two) ending with last "ɸ" (of two), regardless of the content ( five lines ) by the following content (exactly) : §2019_08_23§ # # ... (8 Replies)
Discussion started by: jcdole
8 Replies
mrinfo(1M)																mrinfo(1M)

NAME
mrinfo - Multicast Routing Configuration Information Tool SYNOPSIS
debuglevel] retries] timeout] [ multicast-router ] DESCRIPTION
requests the configuration information from the multicast-ourter, and prints the information to the standard out. multicast-router can be either an IP address or a system name. sends out the ASK_NEIGHBORS igmp message to the specified multicast-router, when the router receives the request, it sends back its configuration information. If the multicast-router is not specified, the request is sent the local router. The the configuration information for each interface is printed in the following format: If there are multiple neighbor routers on one interface, they will all be reported on the output. The possible values for flag are: Neighbors are reached via tunnel. The tunnel uses IP source routing. The interface is down. The interface is administratively disabled for multicast routing. The local router is the querier of the subnet. Please see mrouted(1M) for and The command line options are: Sets the level for printing out the debug message. The default is 0, only error and warning messages will be printed. Debug level three prints most the messages. Sets the retry times to pull the routing daemon for information. The default is 3. Specifies the timeout value in seconds for waiting the reply. The default value is 4. EXAMPLE
The following is an example of quering the multicasting configuration from the local routing daemon. 127.0.0.1 (localhost) [version 3.3]: 15.13.106.144 -> 15.13.106.145 (hpntcbs.cup.hp.com) [10/1/querier] 193.2.1.39 -> 0.0.0.0 (all-zeros-broadcast) [1/1/disabled] 15.13.106.144 -> 15.255.176.33 (matmos.hpl.hp.com) [10/1/tunnel] 15.13.106.144 -> 15.17.20.7 (hpspddc.vid.hp.com) [10/1/tunnel/down] Note must be run as root. AUTHOR
was developed by Van Jacobson. SEE ALSO
mrouted(1M), map-mbone(1M). mrinfo(1M)
All times are GMT -4. The time now is 07:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy