有一台工作站,开通了一个公有帐号供大家登录,需要对该帐号的权限进行限制,比如只能运行有限的一些命令,比如cd, vi, make等,不知有没有办法实现?网上搜到一些资料,需要再仔细看看。
SSH, The Secure Shell,
Chapter 8
Per-Account Server Configuration
http://oreilly.com/catalog/sshtdg/chapter/ch08.html
Re: Restricted Shells or Menu Based Shells
http://www.derkeiler.com/Mailing-Lists/securityfocus/focus-linux/2002-02/0044.html
using google search:
https://www.google.com/search?q=restricted+shell+linux