Linux / UNIX Tech Support Forum
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 free or login to your account to remove all advertisements.
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
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 .. .. |
![]() |
|
|
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 | 13th June 2008 11:01 PM |
| let users change password using perl script? | james bond | Getting started tutorials | 9 | 24th May 2007 10:32 PM |
| HP UX user lock password, change password, password aging | rockdalinux | HP-UX | 0 | 20th December 2006 02:36 PM |
| Backup mysql from shell prompt or script | raj | Linux software | 0 | 29th July 2006 11:17 PM |
| the script is not accepting password | vishal Titre | Shell scripting | 2 | 17th July 2006 06:34 PM |