15 lines
302 B
Bash
15 lines
302 B
Bash
#!/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
|