You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/09/11 13:00:20 UTC

[GitHub] larstobi commented on a change in pull request #2252: CLOUDSTACK-10067: Fix a case where a user 'ro' or 'roo' exists on the system

larstobi commented on a change in pull request #2252: CLOUDSTACK-10067: Fix a case where a user 'ro' or 'roo' exists on the system
URL: https://github.com/apache/cloudstack/pull/2252#discussion_r138061475
 
 

 ##########
 File path: setup/bindir/cloud-set-guest-sshkey-configdrive.in
 ##########
 @@ -84,7 +84,7 @@ else
     exit 1
 fi
 
-homedir=$(grep ^$user /etc/passwd|awk -F ":" '{print $6}')
+homedir=$(etent passwd $user|awk -F ":" '{print $6}')
 
 Review comment:
   Thanks, fixed.
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services