Skip to content
Snippets Groups Projects
Commit 1edf3515 authored by Brian O'Connor's avatar Brian O'Connor Committed by Brian O'Connor
Browse files

Merge pull request #439 from cdburkard/patches/sudoers

fix sudoers file to allow -u option
parents 3534f777 0d271f94
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
#
# optional argument: Mininet branch to install
set -e
echo `whoami` ALL=NOPASSWD: ALL | sudo tee -a /etc/sudoers > /dev/null
echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
sudo sed -i -e 's/Default/#Default/' /etc/sudoers
echo mininet-vm | sudo tee /etc/hostname > /dev/null
sudo sed -i -e 's/ubuntu/mininet-vm/g' /etc/hosts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment