如何限制某用户在特定 pty 的访问

发表于:2007-07-01来源:作者:点击数: 标签:
环境 产品: AIX
平台: RS
软件版本: AIX V4
问题 用户想限制某些端口的访问。
解答 用户可以编辑/etc/security/user. For example:


test:
admin = false
admgroups = system
ttys = !/dev/pts/0,ALL


结果是用户test可以在除了pts/0以外的所有端口登录,当test在pts/0登录时,
系统报错You are not allowed to aclearcase/" target="_blank" >ccess the system via this terminal.

原文转自:http://www.ltesting.net