Sponsored Content
Operating Systems AIX Automation from Windows to Linux - Telnet and su using perl Post 302278480 by aixylinux on Tuesday 20th of January 2009 10:16:36 AM
Old 01-20-2009
There's a Perl::Expect module at Expect.pm - Expect for Perl - search.cpan.org which works but suffers from limited documentation. Can you install the module on SERVER1 as USER1 and run a script from there to su to USER2?

Or can you run your deployment from a Linux system or an AIX system which *does* have Expect? All you seem to need to do is run the deployer script on SERVER1. Why does it matter that your driver system be Windows?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Automation of telnet and ftp

I have a basic query. I use telnet and ftp very frequently. I want to do it without spending time in typing username and password everytime. I know that if I have .netrc file which contains server address, username, pasword, then just typing ftp will conect to that server with that username and... (10 Replies)
Discussion started by: asutoshch
10 Replies

2. Cybersecurity

FTP Automation Windows <> Unix <> Remote

Hi All, I am a newbie to unix and scripting. I need to do the following job: 1. Create a batch file in windows that will call a script in a remote unix box. 2. The script now ftp files from the Remote windows machine and get them back to the local windows. Actually, I have written the script... (3 Replies)
Discussion started by: Ankur
3 Replies

3. Shell Programming and Scripting

Web automation using perl

Hi all, I have to test a web application which has secure authorization. It is a ticketing site where I can create tickets,view and close them. I am trying to automate it in perl and I am not aware of how to do UI automation using perl. Please guide me in steps to implement a perl... (1 Reply)
Discussion started by: gurukottur
1 Replies

4. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

5. UNIX for Dummies Questions & Answers

Help on Perl web automation

Hi All, Could experts in the forum suggest me a good book to create web based applications using Perl. Much thanks in advance Karthick (2 Replies)
Discussion started by: karthickrn
2 Replies

6. UNIX for Dummies Questions & Answers

Need help configuring Active Perl on Windows Vista.: Perl Scripting on Windows

Hi All, Need help configuring Active Perl on Windows Vista. I am trying to install Active Perl on Windows Vista. The version of Active Perl i am trying to install is : ActivePerl 5.10.1 Build 1006 After installing it through cmd, When i try to run perl -v to check the version, i get the... (2 Replies)
Discussion started by: Vabiosis
2 Replies

7. Shell Programming and Scripting

EXPECT script for Telnet automation. Need your support.

Dear experts, please help me . I've found simple EXPECT scripts and all works fine. But I need more automation in error handling and sending list of commands/output logging from multiple remote hosts. I have 10 hosts, for example: host1 192.168.1.1 LOGIN1 PASSWORD1 ...... ... (2 Replies)
Discussion started by: starchen
2 Replies

8. Shell Programming and Scripting

Automation SCRIPT to reset the password in PERL

Hi All, We have many number of users.Some times we will receive mail from them like , the below USER password got expired and they are requesting us to change the password and send it back to them in a mail. there we are giving Expiray date again. We are doing this process manually. I want... (2 Replies)
Discussion started by: vasuvv
2 Replies

9. Shell Programming and Scripting

Linux VMguest Automation

i need a help to conigure the ipaddress for linux vmguest we have perl script to deploy the vmguest from our master server and that script will configure the vmguest and boot the machine automatically. i have query once guest booted it should read a file from (.vmx or some file from datestore... (0 Replies)
Discussion started by: venikathir
0 Replies
mman(5) 							File Formats Manual							   mman(5)

NAME
mman - memory mapping definitions SYNOPSIS
DESCRIPTION
The header defines the following symbolic constants for use with the function: No further special treatment. Expect random page references. Expect sequential page references. Will need these pages. Will not need these pages. Ensure that resources are reserved. The following symbolic constants are defined for use with the and functions: Region can be read. Region can be written. Region can be executed. Region cannot be accessed. The following symbolic constants are defined for use with the function: Map a file. Map an unnamed memory region. Place region at implementation-computed address. Place region at specified address. Share changes made to mapped region. Changes to mapped region are private to a process. The following symbolic constants are defined for use with the function: Perform synchronous writes. Perform asynchronous writes. Invalidate cached pages. The following symbolic constants are defined for use with the and functions: Create semaphore in locked state. Create semaphore in unlocked state. Do not wait if semaphore is locked. Do not unlock if semaphore has no waiters. The is defined for use with the and functions. SEE ALSO
mmap(2), munmap(2), mprotect(2), msync(2), madvise(2), msem_init(2), msem_remove(2), msem_lock(2), msem_unlock(2). mman(5)
All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy