first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

15
shell/safe/00-backup.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/bash
# 备份
cp /etc/pam.d/su $backupdir
cp /etc/pam.d/sshd $backupdir
cp /etc/pam.d/login $backupdir
cp /etc/ssh/sshd_config $backupdir
cp /etc/profile $backupdir
cp /etc/sysctl.conf $backupdir
cp /etc/hosts.allow $backupdir
cp /etc/hosts.deny $backupdir
cp /etc/selinux/config $backupdir