first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
15
shell/safe/00-backup.sh
Normal file
15
shell/safe/00-backup.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue