You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2012/11/21 14:19:58 UTC

[jira] [Updated] (KARAF-2022) Password for client script is output to the terminal

     [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated KARAF-2022:
-----------------------------------

    Attachment: KARAF-2022.patch

Patch to fix issue. Now the client login sequence looks like this:

{code}
[janstey@duffman apache-karaf-2.3.1-SNAPSHOT]$ ./bin/start
[janstey@duffman apache-karaf-2.3.1-SNAPSHOT]$ ./bin/client -u myuser
Password: 
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

  Apache Karaf (2.3.1-SNAPSHOT)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'osgi:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or 'logout' to disconnect shell from current session.

myuser@root> 
{code}
                
> Password for client script is output to the terminal
> ----------------------------------------------------
>
>                 Key: KARAF-2022
>                 URL: https://issues.apache.org/jira/browse/KARAF-2022
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Jonathan Anstey
>         Attachments: KARAF-2022.patch
>
>
> When using the bin/client script to connect to a container the password is output to the screen as I type it, rather than being hidden.
> For example:
> {code}
> [janstey@duffman apache-karaf-2.3.0]$ ./bin/start
> [janstey@duffman apache-karaf-2.3.0]$ ./bin/client -u myuser
> Password: mypassword
> mypassword
>         __ __                  ____      
>        / //_/____ __________ _/ __/      
>       / ,<  / __ `/ ___/ __ `/ /_        
>      / /| |/ /_/ / /  / /_/ / __/        
>     /_/ |_|\__,_/_/   \__,_/_/         
>   Apache Karaf (2.3.0)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit 'osgi:shutdown' to shutdown Karaf.
> Hit '<ctrl-d>' or 'logout' to disconnect shell from current session.
> myuser@root> 
> {code}
> rather the password should be hidden as it is typed. Attaching a patch for this shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira