Remove sudo capability for onap user for VF-C sfc of zte docker
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / plugin-standalone / src / main / assembly / docker / docker-env-config.sh
index c6e7549..2ba1384 100644 (file)
@@ -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
 }