Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha
/
2b24051260bf1a1de0c4a3bc1a56ea7f2b3dd5df
/
.
/
install
/
BashLogin.sh
blob: 7b355e5584053354e9fa1024830a53ee97ac31cc [
file
] [
log
] [
blame
]
#!/bin/bash
echo
"vinstall ALL=(ALL) NOPASSWD:ALL"
>
tmp
sudo chown root
.
root tmp
sudo mv tmp
/
etc
/
sudoers
.
d
/
vinstall
sudo chmod
664
/
etc
/
sudoers
.
d
/
vinstall
mkdir
.
ssh
chmod
0700
.
ssh
ssh
-
keygen
-
f
/
home
/
vinstall
/.
ssh
/
id_rsa
-
t rsa
-
N
''