Changed user for security

This commit is contained in:
Nate Choe
2022-01-30 12:56:05 -06:00
parent e05896356f
commit f3694d3b43
3 changed files with 22 additions and 288 deletions

View File

@@ -13,7 +13,9 @@ work/%.o: src/%.c $(wildcard src/include/*.h)
$(CC) $(CFLAGS) $< -c -o $@
install: build/$(OUT)
useradd -M swebs
cp build/$(OUT) $(INSTALLDIR)/$(OUT)
uninstall: $(INSTALLDIR)/$(OUT)
userdel swebs
rm $(INSTALLDIR)/$(OUT)