Approaches to Disable SSH

一、禁止用户登录 1、修改用户配置文件/etc/shadow将第二栏设置为“*”,如下。那么该用户就无法登录。但是使用这种方式会导致该用户的密码丢失,也就是当你再次允许他登录的时候,你还得让他重新设置密码。(再次启用这个帐号的方法是把“*”去掉就可以了) 如:tom:*:14245:0:99999:7::: 为了使原密码不丢失,可以在原密码前面加一个特殊字符,比如”!”。...

FTP Commands

Commands Description open Connect user Login user bin Binary transfer mode prompt on Switch on prompt (interactive) prompt off Switch on prompt (non-interactive) cd Change dir lcd Ch...

Hide Unused Quick Links in Windows

1. Win+R -> regedit 2. GotoComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions 3. Change the string value of “ThisPCPolicy” from “Show” to “Hide” in fo...
1789101116