2013-11-24 72 views

回答

2

添加<user> <hostname> = <full path to commands>/etc/sudoers文件。在你的情况下,它将是test ALL = /usr/bin/apt-get

看看sudoers(5)手册页获取更多信息。