The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Encrypting a script...... prashantshukla SUN Solaris 6 12-31-2007 12:53 AM
Masking Bits from an Integer kdhaye Shell Programming and Scripting 2 06-05-2007 03:49 PM
Encrypting a password for shell script bubba112557 Shell Programming and Scripting 1 11-08-2004 06:33 PM
Masking input in a shell script Spetnik UNIX for Dummies Questions & Answers 2 12-29-2003 03:12 PM
IP Masking perleo IP Networking 1 07-11-2003 12:27 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-07-2006
dshrish dshrish is offline
Registered User
  
 

Join Date: May 2005
Posts: 2
masking or encrypting in shell script

Hi folks, I am writing a script which asks the user to enter a user name and password to telnet and logon to some other machine. The script promts the user to enter the login name and password as below.

echo "Enter the login name to be used to login on the machine"
read login
echo "Enter the password for the login:$login"
read passwd
......... the scripts then proceeds to telnet a list of IPs and do some executions on the servers....


In this case, as the user types the password, it is displayed on the screen. Is there a way wherein the password that is being typed is not seen or can be masked/encrypted? Please let me know.

Thanks.
Shrish
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0