mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
imported esniper changes
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
useradd -s /bin/false esniper
|
||||
grep -v "esniper" /etc/sudoers > /tmp/sudoers
|
||||
echo "# esniper user" >> /tmp/sudoers
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
grep -v "esniper" /etc/sudoers > /tmp/sudoers
|
||||
mv /tmp/sudoers /etc/sudoers
|
||||
|
||||
Reference in New Issue
Block a user