You are here: Technology, Web & Business Forum
: Web Development
: Programming
:
How to hide user input password in Perl Command Line Interface?
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
Hi, I have a CLI application and when the user enters the password, I would not like it to be shown on the command line. Is there a way to do that in Perl on Linux? Thanks.
|
|
|||
|
|||
Try something like stty -echo before you ask for the password, and then set stty echo after you've received input.
perldoc -q password may also help
__________________
Fentanyl Patches |



Linear Mode
