我有一个简单的问题要问你,至少,比“我如何清理被盗用的用户帐户?”要简单得多。问题是:“如何禁用被盗用的用户帐户?” 有一些明显的事情要做:
pkill -9 -u username
那么,如果他们的进程在完成这些事情后神秘地恢复了,我们错过了什么?
我也会做以下事情:
a. Disable the account password, via passwd -l
b. Change the users' login shell to /bin/false
c. Remove the users' .ssh directory
d. Remove the users' .rhosts file
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
94 次 |
最近记录: |