Need sudo for user creation
This commit is contained in:
parent
1474aecd5d
commit
59ae84bbbb
2
Makefile
2
Makefile
@ -23,7 +23,7 @@ reverse: ${pkgdir}/usr/lib/systemd/system/raven.service
|
||||
cp ${pkgdir}/usr/lib/systemd/system/raven.service .
|
||||
|
||||
checkperm: ${pkgdir}/opt/raven.mono
|
||||
if ! id raven; then useradd raven; echo User raven added; fi
|
||||
if ! id raven; then sudo useradd raven; echo User raven added; fi
|
||||
chown -R raven:raven ${pkgdir}/opt/raven.mono ${CONFDIR}*
|
||||
chmod 0600 ${pkgdir}/opt/raven.mono ${CONFDIR}*/*
|
||||
chmod 0700 ${CONFDIR}*
|
||||
|
Loading…
Reference in New Issue
Block a user