Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: shipoin_97 on April 16, 2008, 03:48:36 AM
-
Dear Friends ,
In My Oracle10g database server , I want to run the following script , which prompts for "sys" password .
echo "password please:"
read mypass
rman target sys/$mypass@onlinete << !
run
{
allocate channel t1 type disk;
backup format 'df_%t_%s_%p'
(database);}
But the problem is , when I execute this script it promps for password but not in invisible mode . I want a situation where this script is working with prompt password but not in visible mode . I am working now in Oracle10g in AIX unix platform .
Waiting for ur kind reply ...
-
To hide ur password while u type, hide the command prompt input via:
# stty -echo
To turn back on the text input:
# stty echo