@@ -0,0 +1,20 @@
CC=gcc
CFLAGS=-Wall
SOURCES=src/sudo.c
TARGET=bin/sudo
default: all
all: build
build:
@if [ ! -d bin ]; then \
mkdir bin; \
fi
$(CC) -o $(TARGET) $(SOURCES) $(CFLAGS)
sudo chown -v root:staff $(TARGET)
sudo chmod 4755 $(TARGET)
clean:
rm -v $(TARGET)
The note is not visible to the blocked user.