7

How to give access using sudoers file, for doing few thing to one user only?

view full story
linux-howto

http://askubuntu.com – Below is what I know: (Sorry!! :( please bear with my English, that's bad really bad, i know & I apologize for that. :( ) 1. I have to add this below line in sudoers file to give rights to the user for particular task. %user_name% ALL=NOPASSWD: /usr/bin/apt-get install In this case I want to give access to this user to restart 2 services i.e. Apache and MySQL, with all install rights. using above line i have given him all install rights, now do i have to add same line 2 more times to give rights for services. or i can just add those commands in the same line, pu (HowTos)