Ubuntu Forums (Ubuntu Linux Support)

Ubuntu Server => Application Support => Topic started by: hwtsai on May 13, 2014, 07:52:24 AM

Title: Sudoer
Post by: hwtsai on May 13, 2014, 07:52:24 AM
I am trying to set up one user to only able to run apt-get. So i visudo sudoers and added this line :

ict localhost= /usr/bin/apt-get

where ict is the user name.
But it turns out that this ict user can handle all services like starting apache for example via sudo.
Anything that i am missing? sorry quite new to this sudoer thing.