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

Ryan McKinley resolved SOLR-365.
--------------------------------

    Resolution: Invalid

not a solr issue
                
> improper handling of user login greater than 8 characters
> ---------------------------------------------------------
>
>                 Key: SOLR-365
>                 URL: https://issues.apache.org/jira/browse/SOLR-365
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (scripts)
>         Environment: linux and probably other unix operating systems
>            Reporter: Paul Sundling
>            Priority: Minor
>
> to reproduce, create a user account that is more than 8 characters long.  
> Then try to do a command like snappuller and even though the config is setup 
> properly, it attempts to do a sudo.  The reason is that  2 different methods 
> are used to calculate the user, one of which truncates accounts to 8 
> characters.
> While user logins used to be limited to 8 characters, this may not be the 
> case on modern UNIX.  
> Here is a snippet I get by adding the -x debug flag to bash.  Note how 
> oldwhoami is a truncated version (psundlin) of the full login (psundling).
> + fixUser
> + [[ -z psundling ]]
> ++ whoami
> + [[ psundling != psundling ]]
> ++ who -m
> ++ cut '-d ' -f1
> ++ sed '-es/^.*!//'
> + oldwhoami=psundlin
> + [[ psundlin == '' ]]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to