larstobi opened a new pull request #2252: Fix a case where a user 'ro' or 'roo' 
exists on the system
URL: https://github.com/apache/cloudstack/pull/2252
 
 
   Fix a case where a user 'ro' or 'roo' exists on the system or other 
variants, like 'cen' and 'centos'.
   If one sets user=roo, this will return two directories (/root /home/roo) and 
then it will fail.
   
   Also, if user 'ro' or 'roo' does not exist, this will happily put the sshkey 
to the authorized_keys of the root account, which is not the intended place.
   
   As another slightly less improbable example, if we have two users in our 
company named lars, then we could end up with lars's sshkey in larsb's 
authorized_keys.
   
   The binary getent should be available on most Linux platforms, including 
ones using uClibc.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to