Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to allow an admin to do everything except changing password of another admin : Ub

  1. #11
    Join Date
    Jun 2013
    Beans
    6

    Re: How to allow an admin to do everything except changing password of another admin

    Well, and just forbid the cp command on only one directory?

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

    Re: How to allow an admin to do everything except changing password of another admin

    If cp is blocked then there would be tar and the others mentioned above.

    tar cf - /bin/cp | (cd /tmp/; tar xf -);
    sudo /tmp/bin/cp a b

    I'm not sure if there are infinite combinations but it approaches infinity.

    The one way that does work is to make a list of the allowed applications.

Page 2 of 2 FirstFirst 12

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
  •