Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./setup.sh needs sudo #31

Open
RobertHa opened this issue Dec 7, 2018 · 1 comment
Open

./setup.sh needs sudo #31

RobertHa opened this issue Dec 7, 2018 · 1 comment
Assignees

Comments

@RobertHa
Copy link

RobertHa commented Dec 7, 2018

because it calls the genode/Makefile, which requires sudo in several commands.
this should be done without sudo

@irgendwie
Copy link
Member

sudo is only called in necessary places:

% grep -r 'sudo' Makefile 
	sudo apt-get update -qq
	sudo apt-get install -qq libncurses5-dev texinfo autogen autoconf2.64 g++ libexpat1-dev \
	@sudo vde_tunctl -u $(USER) -t tap0
	@sudo ip link set dev tap0 address 76:5e:06:6a:7e:87
	@sudo ifconfig tap0 10.200.40.10 up
	@sudo cp config-data/dhcpd.conf /etc/dhcp/dhcpd.conf
	@sudo cp config-data/isc-dhcp-server /etc/default/isc-dhcp-server
	@sudo service isc-dhcp-server start
	@-sudo vde_tunctl -d tap0
	@sudo service isc-dhcp-server stop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants