lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-365) improper handling of user login greater than 8 characters
Date Thu, 23 Feb 2012 09:23:50 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message