如何限制某用户在特定 pty 的访问
来源:岁月联盟
时间:2008-02-17
【IT168 服务器学院】
软件版本: 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 access the system via this terminal.
下一篇:AIX常见问题整理