suid bit for crontab
This commit is contained in:
parent
372f75e181
commit
5eed0cad05
1
Makefile
1
Makefile
@ -19,6 +19,7 @@ build: target/debug/systemd-crontab-generator target/debug/boot-delay target/deb
|
||||
install: release
|
||||
find target/release -maxdepth 1 -executable -type f -not -name systemd-crontab-generator -execdir \
|
||||
install --mode=0755 --strip -D {} ${PREFIX}/usr/bin/{} \;
|
||||
chmod u+s ${PREFIX}/usr/bin/crontab
|
||||
install --mode=0755 --strip -D target/release/systemd-crontab-generator ${PREFIX}/lib/systemd/system-generators/systemd-crontab-generator
|
||||
install --mode=0644 -D units/cron.target ${PREFIX}/lib/systemd/system/cron.target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user