1.若只希望用户没te.net权限,则需要修改/etc/passwd中对应该用户的shell为/bin/true。 2.若只希望用户没有telnet和ftp权限,则需要修改/etc/passwd中对应该用户的shell为/bin/false。
原文转自:http://www.ltesting.net