我使用 Ubuntu 服务器 10.04。我的用户通常无权访问 sudo。当该用户使用 top 命令时,他只能看到当前用户的进程。我添加了一行/etc/sudoers:
/etc/sudoers
user ALL = NOPASSWD: /usr/bin/top
但是现在我们不仅可以访问系统进程列表,还可以杀死它们,这是不希望的。
有没有其他方法可以做到这一点?
security ubuntu hosting sudo top
hosting ×1
security ×1
sudo ×1
top ×1
ubuntu ×1