accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ACCUMULO-1276) problems running generate_monitor_certificate.sh
Date Mon, 15 Apr 2013 19:00:17 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632025#comment-13632025
] 

Christopher Tubbs edited comment on ACCUMULO-1276 at 4/15/13 6:58 PM:
----------------------------------------------------------------------

I like the tr -dc method:
{code}
tr -dc '#-~' < /dev/urandom | head -c 20
{code}

But, I  don't see why we should generate a password at all... we should prompt for one instead.
The responsibility for securing the a certificate should be that of the user, not our script.
                
      was (Author: ctubbsii):
    I like the tr -dc method:
{code}
tr -dc 'A-Za-z0-9_$%^&@!' < /dev/urandom | head -c 20 | xargs
{code}

But, I  don't see why we should generate a password at all... we should prompt for one instead.
The responsibility for securing the a certificate should be that of the user, not our script.
                  
> problems running generate_monitor_certificate.sh
> ------------------------------------------------
>
>                 Key: ACCUMULO-1276
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1276
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.4.3
>            Reporter: David Medinets
>            Assignee: Eric Newton
>
> I tried to run the generate_monitor_certificate.sh script on an Ubuntu VM
> and saw the following message:
> root@li459-74:/usr/local/accumulo# bin/generate_monitor_certificate.sh
> tail: cannot open `+2' for reading: No such file or directory
> I briefly looked into the script but don't know enough about /dev/random to
> debug much.

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

Mime
View raw message