• Post Reply Bookmark Topic Watch Topic
  • New Topic

Masking Password at Command Line  RSS feed

 
Steve Stanicki
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,
Is there a way to mask a password at the command line (read non-GUI) as it is being typed by a user?

Something like setEchoChar() for a Text Field?

I am on a UNIX box, writing an app that will login to an Oracle Database.
No GUI available. (I have got the setEchoChar() to work on a GUI for my PC).

Can anyone tell me how this might be done?

Thanks,
Steve
 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did this

http://www.google.com/search?hl=en&q=java+command+line+password

got this
and
got this

Which both seem to imply no. Although they are a couple of years old.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!