This is a discussion on script to prompt for password for AIX within the Shell scripting forums, part of the Development/Scripting category; Dear Friends , I have to find this site the following script : read -s -p "Enter Password: " mypassword ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Dear Friends ,
I have to find this site the following script : read -s -p "Enter Password: " mypassword which helps to run a script with prompt for a password . It works fine in Linux . Using this I make a RMAN script for Oracle which is also works fine . My script is : read -s -p "Enter passwd: " mypass rman target sys/$mypass@onlinete << ! run { allocate channel t1 type disk; backup format 'df_%t_%s_%p' (database);} But This script is not wokring in AIX -5.3 unix . Here in this unix I cannot run this script using "read" command . Can anybody plz help me , How can I use "read" command in AIX unix Like Linux ? Waiting for ur kind reply .. .. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change root password using perl script? | Raj1 | Solaris/OpenSolaris | 8 | 06-13-2008 11:01 PM |
| let users change password using perl script? | james bond | Getting started tutorials | 9 | 05-24-2007 10:32 PM |
| HP UX user lock password, change password, password aging | rockdalinux | HP-UX | 0 | 12-20-2006 02:36 PM |
| Backup mysql from shell prompt or script | raj | Linux software | 0 | 07-29-2006 11:17 PM |
| the script is not accepting password | vishal Titre | Shell scripting | 2 | 07-17-2006 06:34 PM |