[jboss-jira] [JBoss JIRA] (WFLY-2305) add-user utility reports "No java.io.Console available to interact with user." when used silently with su and piped to a file.

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Nov 6 06:15:02 EST 2013


    [ https://issues.jboss.org/browse/WFLY-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851322#comment-12851322 ] 

RH Bugzilla Integration commented on WFLY-2305:
-----------------------------------------------

Darran Lofthouse <darran.lofthouse at redhat.com> made a comment on [bug 1019264|https://bugzilla.redhat.com/show_bug.cgi?id=1019264]

Please DO NOT document --silent=true as a valid option. 

The only reason for adding support for this option is users are not reading the current help text showing the valid options and are then getting caught out when they use an invalid form of this option - for that reason we are unofficially accepting it.
                
> add-user utility reports "No java.io.Console available to interact with user." when used silently with su and piped to a file.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2305
>                 URL: https://issues.jboss.org/browse/WFLY-2305
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Domain Management, Security
>    Affects Versions: 8.0.0.Beta1
>         Environment: WildFly snapshot of master 15-oct-2013
>            Reporter: Tom Fonteyne
>            Assignee: Darran Lofthouse
>             Fix For: 8.0.0.CR1
>
>
> Running add-user.sh in silent mode and redirecting the output to a file results in an exception:
> Exception in thread "main" java.lang.IllegalStateException: JBAS015232: No java.io.Console available to interact with user.

--
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


More information about the jboss-jira mailing list