Very simple, modify this user's shell. Open / etc / password, find the records corresponding to the user you want to modify, such as: floatboat: x: 500: 500 :: / home / floatboat: / bin / bash To disable floatboat users from logging in, just need to put this line " / bin / bash "is changed to / usr / bin / passwd. This user Telnet can only change the password, and cannot directly console. Of course, if you want to even change this user, you can change the shell to "/ sbin / noLogin". Plus: Add / usr / bin / passwd to the / etc / shells, account can be ftp