Code Review
/
vfc
/
nfvo
/
driver
/
sfc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
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
(file)
--- 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
}