Results 1 to 4 of 4

Thread: Adding apt permissions only

  1. #1
    Join Date
    Apr 2005
    Beans
    12

    Adding apt permissions only

    I'd like to give a user the rights to use apt (or Synaptic or Ubuntu Software Center) without giving them full sudo rights. Is this possible?

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    using sudo

    Quote Originally Posted by liverpoolfc View Post
    I'd like to give a user the rights to use APT (or Synaptic or Ubuntu Software Center) without giving them full sudo rights. Is this possible?
    Yes. That is what sudo is for. Edit /etc/sudoers so that you give that group permission to run APT.

    Code:
    %maintainers ALL = (ALL) /usr/bin/apt-get update, /usr/bin/apt-get upgrade, /usr/bin/apt-get dist-upgrade

  3. #3
    Join Date
    Apr 2005
    Beans
    12

    Re: Adding apt permissions only

    Thanks, that's what I was looking for. I thought sudoers was just a list of users that could use sudo, I didn't realize it had that much detail

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    sudo

    Quote Originally Posted by liverpoolfc View Post
    I didn't realize it had that much detail
    You can even get much more complex and add pattern matching. sudo is a really very, very powerful tool.

    If you want to see a little more, here is a presentation on sudo.
    Last edited by Lars Noodén; May 13th, 2011 at 02:07 PM. Reason: fixed link

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •