10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm writing a little shellscript in aix in order to test the correct connection to a specific ip-port. I'm using the sleep|telnet combination. All works great if connection is already open.. But if telnet connection are in trying state... It doesn't exit and all the rest of the script... (4 Replies)
Discussion started by: libeccio
2. Shell Programming and Scripting
My following script is giving me problems, when the SIP trunk goes down and the telnet session is started and just when the command is about to complete the connection is closed then script restarts.
I have noticed that as soon the script types in "sys re" or "sys rebo" or... (6 Replies)
Discussion started by: jeetz
3. Shell Programming and Scripting
I am trying to build and expect script to log into multiple aix boxes and change password. I need for the script to terminate if it cannot log into a server because the username or password is wrong.
set timeout 1
set uh "Unknown host"
set... (3 Replies)
Discussion started by: leemalloy
4. Shell Programming and Scripting
i have written a script as shown below :
telnet 10.161.240.2 8100
<?xml version="1.0"?> <login_command> <sequence id="1" /> <access id="1"/> <user name = "user1" password = "pass"/> </login_command>
<?xml version="1.0"?> <RegistrationDescriptor> <sequence id="1" /> <access id="1"/>... (4 Replies)
Discussion started by: akrati1
5. Shell Programming and Scripting
have this code but when i run it i get this error
./pulse: line 2: and here is the code
what am i doing wrong
Adam (5 Replies)
Discussion started by: ab52
6. Shell Programming and Scripting
I'm looking at allowing remote telnet into my server.
like any security-minded administrator, I want to log what my users type on the telnet session.
I'm using the script command to generate transcripts of the users session.
I have /etc/profile set to automatically start the script command... (2 Replies)
Discussion started by: ramnet
7. Shell Programming and Scripting
Iam trying to connect to a system through Telnet using net::Telnet Module
$myPassword = "abcdef";
$telnet = new Net::Telnet ( Timeout=>10,
$telnet->waitfor ('/USERCODE: $/i');
$telnet->print('abc');... (2 Replies)
Discussion started by: sudhakaryadav
8. Shell Programming and Scripting
Hi, im brasilian, sorry for bad english ok? Well, im writing one honeypot, look:
echo `cat /etc/welcome.pot`
echo -n "login: "; read usuario
echo -n "Password: "
read -s senha
Running it in localhost, thats right:
... (1 Reply)
Discussion started by: juniordevil
9. UNIX for Dummies Questions & Answers
Hi quick question from a unix newbie
Working on a project to get me using unix, the point of this project is to find a printer on the network check for jobs in the printer if the printer has no jobs do nothing if the printer has jobs then check the status for errors and e-mail the user. This... (2 Replies)
Discussion started by: w33man
10. UNIX for Dummies Questions & Answers
can someone tell me how i can write a shell script that will automatically log me in to any machines i want without bothering me for some password input? (i know i have to put in a password but I would like to take care of that in the script)
can anyone help me here? (2 Replies)
Discussion started by: TRUEST