02-24-2012
If there's no method provided for automating it, you may need to brute-force it with a third-party tool like expect.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends
I am trying to make an interactive shell script ( I do not have expect tool )
My objective is
1.I have a progam named say "inter"
The program when ran on command prompt will be as below
Prompt>inter
Please enter the choice
1.enter 1
2.enter 2
< I need to enter 1 or 2... (4 Replies)
Discussion started by: sivasenthil_k
4 Replies
2. Shell Programming and Scripting
now, i have a program that i would very much prefer to run remotely as i hate having to log into the box it is on.
the problem is, every command i have tried to run this remotely doesn't work.
the commands tries to kick off the program on the remote box but then hangs.
like take for... (3 Replies)
Discussion started by: Terrible
3 Replies
3. Shell Programming and Scripting
I know the root login/password for a machines, and I want to automate some commands like this from each:
ssh root@remoteHost1 "tail /var/log/messages"
ssh root@remoteHost2 "tail /var/log/messages"
ssh root@remoteHost3 "tail /var/log/messages"
ssh root@remoteHost4 "tail /var/log/messages"
ssh... (2 Replies)
Discussion started by: jjinno
2 Replies
4. Shell Programming and Scripting
Hi I have created a program but am currently wondering how to develop it further. I wanted to know how i would go about developing the program further so that it is able to run with a "none interactive flag" enabling execution to be automated with the resultant file e-mailed to a user once a week.... (1 Reply)
Discussion started by: warlock129
1 Replies
5. Shell Programming and Scripting
Hello everyone!
I am trying to log-in to a remote server over SSH, transfer file1 there, perform some checks, capture the results in file2 and transfer file2 back to my local server - all of this non-interactively. Initially, I tried to do this within a singe SSH session, using the following... (2 Replies)
Discussion started by: Subu1987
2 Replies
6. Shell Programming and Scripting
Hi All,
I am writing a script(Auto_Installation.sh) which is calling one another script (./update_manager /spare/install/HO7/PME_Response_file.txt)
Now the issue is result of (./update_manager /spare/install/HO7/PME_Response_file.txt) script is
##########################################... (6 Replies)
Discussion started by: Dhruvak
6 Replies
7. Programming
I need to run an interactive program in the background so I can grep it for specific data to use for some logic in a script.
There is no quiet or background mode on the program so I plan to redirect a document with commands in it and then to grep the output.
This is almost working, except... (1 Reply)
Discussion started by: doonan_79
1 Replies
8. Shell Programming and Scripting
hi, i am on AIX 5.3. I would like to write scripts that initiate or reattach to a screen session to run some commands either from unix or Universe. Can anyone assist me with a with a wuick primer on this. I can attach or initiate a screen manually and then run the commands but I would like to... (6 Replies)
Discussion started by: dustytina
6 Replies
9. Programming
Hi i need a c programm to login in unix(solaris).
non-interactivley because it seems difficult to do it with unix shell scripting and passwd command cant be used and also
i don't have expect installed and i am not allowed to installed expect in our servers.
is there any c programm that can help... (1 Reply)
Discussion started by: munish259272
1 Replies
10. Shell Programming and Scripting
Dear Users,
I have installed a standalone program to do multiple sequence alignment which takes user parameters to run the program. I have multiple sequence files and want to automate this process through a bash script. I have tried to write a small bash code but its throwing errors.
Kindly... (13 Replies)
Discussion started by: biochemist
13 Replies
LEARN ABOUT CENTOS
pwmake
PWMAKE(1) General Commands Manual PWMAKE(1)
NAME
pwmake - simple tool for generating random relatively easily pronounceable passwords
SYNOPSIS
pwmake <entropy-bits>
DESCRIPTION
pwmake is a simple configurable tool for generating random and relatively easily pronounceable passwords. The tool allows you to specify
the number of entropy bits that are used to generate the password.
The entropy is pulled from /dev/urandom.
The minimum number of bits is 56 which is usable for passwords on systems/services where brute force attacks are of very limited rate of
tries. The 64 bits should be adequate for applications where the attacker does not have direct access to the password hash file. For situ-
ations where the attacker might obtain the direct access to the password hash or the password is used as an encryption key 80 to 128 bits
should be used depending on your level of paranoia.
OPTIONS
The first and only argument is the number of bits of entropy used to generate the password.
FILES
/etc/security/pwquality.conf - The configuration file for the libpwquality library.
RETURN CODES
pwmake returns 0 on success, non zero on error.
SEE ALSO
pwscore(1), pam_pwquality(8)
AUTHORS
Tomas Mraz <tmraz@redhat.com>
Red Hat, Inc. 10 Nov 2011 PWMAKE(1)