Windows:
1、禁止在登录界面显示新建账号
2、REG ADD "HKEY_LOCAL/-MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\WinLogon\SpecialAccounts\UserList" /v username(需要隐藏的用户名) /T REG_DWORD /D 0
3、del %WINDIR%\*.LOG /a/s/q/f :删除windows目录下的所有日志文件
Linux:
History:历史命令行
history -c 进行清除
chattr +i .bash_history:赋予 .bash_history文件以i属性--不可写,需将文件删除,再创建一个新的文件
日志:/var/log/目录下
auth.log / secure
btmp / wtmp(以下四个文件必须通过命令显示)
lastlog / failog
其他日志和HIDS等