commit | bd27de194c9c74deb8d16c4ddd72b34ffe56db9b | [log] [tgz] |
---|---|---|
author | Sergei Trofimov <sergei.trofimov@arm.com> | Thu Apr 20 17:00:17 2017 +0100 |
committer | Sergei Trofimov <sergei.trofimov@arm.com> | Thu Apr 20 17:12:01 2017 +0100 |
tree | 162cbfc0d363186f0050cd8c1a3b8e572e5be35f | |
parent | 1ab8c25ff9ff522a0c518d6c40a0e67cd1dcc5bf [diff] |
SshConnection: do not try to sudo as root If a command is executed "as_root", SshConnection always prepended "sudo" invocation to the command, even if the user name is "root". This causes problems on patforms that do not have "sudo". This commit changes this behavior so that sudo is never used for root users.