[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Servers Support  |  Topic: Promt passowrd with invisible mode
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Promt passowrd with invisible mode  (Read 441 times)
0 Members and 1 Guest are viewing this topic.
shipoin_97
Tux Awared
**
Offline Offline

Posts: 42


View Profile
« on: April 15, 2008, 11:48:36 PM »

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 ...
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Posts: 494


View Profile
« Reply #1 on: June 13, 2008, 04:40:47 AM »

To hide ur password while u type, hide the command prompt input via:

# stty -echo

To turn back on the text input:
# stty echo

Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Save changes in XF86Config from text mode? Linux Video Support Aleksandar 4 1148 Last post March 24, 2004, 07:51:56 AM
by Aleksandar
Isochronous Transfer mode Linux Development & Programming jeeva 1 961 Last post August 21, 2004, 06:13:21 AM
by jeeva
UML---------------------->USER MODE LINUX Linux Kernel waqasgujjar 0 1165 Last post December 17, 2004, 03:58:31 PM
by waqasgujjar
Monitor goes to standby mode during installation Linux Installation Support BladeMasta 1 747 Last post May 10, 2005, 01:43:10 AM
by dragoncity99
Grub in Text Based Mode Distribution Specific cheetahman 0 1337 Last post May 27, 2005, 09:12:39 PM
by cheetahman
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 10, 2008, 03:38:17 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 03:18:26 PM]

[October 09, 2008, 05:17:47 PM]

[October 08, 2008, 04:32:08 AM]

[October 07, 2008, 05:16:33 AM]

[October 06, 2008, 03:09:51 AM]

[October 04, 2008, 03:33:03 AM]

[October 03, 2008, 06:21:18 AM]

[October 03, 2008, 05:31:19 AM]

[October 03, 2008, 05:28:14 AM]

[October 03, 2008, 05:27:13 AM]
Members
Total Members: 6099
Latest: totwire
Stats
Total Posts: 8203
Total Topics: 2224
Online Today: 12
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 8
Total: 8
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc