Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Answer: How do I make password prompts not echo back the user?

by skx (Parson)
on Oct 23, 2003 at 11:19 UTC ( [id://301539]=note: print w/replies, xml ) Need Help??


in reply to Re: Answer: How do I make password prompts not echo back the user?
in thread How do I make password prompts not echo back the user?

 This works but there are two caveats you should bear in mind:

  • If you're running the script as a priviledged process you might have just opened yourself to a local attack, if the user can modify their path and slip in a trojan 'stty' binary.
  • This fails utterly on Windows, amongst other systems.
Steve
---
steve.org.uk
  • Comment on Re: Answer: How do I make password prompts not echo back the user?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://301539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found