![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
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 |
| Display Modes | Rate This Thread |
|
|