summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-03-05 11:26:05 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-03-05 11:27:01 +0800
commitedbd7537bce2b543ccd0f4c1d042e623b75650ae (patch)
tree33592e407675b35cd117d3fdec7cfd313eac62b0
parentfff59ec3e331ddf17e5c92223843e13567d33cb4 (diff)
Remove sudo capability for onap user for VF-C sfc of zte docker1.3.1
Change-Id: I6b6a2709992b408f28d63470fcebfce2fe444f44 Issue-ID: VFC-1640 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rw-r--r--zte/sfc-driver/plugin-standalone/src/main/assembly/docker/docker-env-config.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/docker-env-config.sh b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/docker-env-config.sh
index c6e7549..2ba1384 100644
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/docker-env-config.sh
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/docker-env-config.sh
@@ -19,10 +19,6 @@ install_sf(){
add_user(){
useradd onap
- yum -y install sudo
- chmod u+x /etc/sudoers
- sed -i '/Same thing without a password/a\onap ALL=(ALL:ALL) NOPASSWD:ALL' /etc/sudoers
- chmod u-x /etc/sudoers
chown onap:onap -R /service
}