Find the answer to your Linux question:
Results 1 to 4 of 4
In SuSe 10, can I allow non-superusers to perform "chown" commands?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    49

    chown for non-superuser


    In SuSe 10, can I allow non-superusers to perform "chown" commands?

  2. #2
    Just Joined!
    Join Date
    Mar 2006
    Posts
    20
    Well, I'm betting that a utility called 'setfacl' could help you. You need to go into /bin and do:

    getfacl chown

    This will show you who has access to execute that file. If you use setfacl, you can change a specific user's permissions to execute that file. I would read up about it, first, though.... i.e., 'man setfacl' and 'setfacl --help', etc. You can read a quick intro to these commands here.

    Hope that helps.

  3. #3
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Quote Originally Posted by scottmorris
    Well, I'm betting that a utility called 'setfacl' could help you. You need to go into /bin and do:

    getfacl chown

    This will show you who has access to execute that file. If you use setfacl, you can change a specific user's permissions to execute that file. I would read up about it, first, though.... i.e., 'man setfacl' and 'setfacl --help', etc. You can read a quick intro to these commands here.

    Hope that helps.
    I don't think that is relevant to the question. Chown is just a normal program (it does nothing magical); everybody always has the permission to execute it. I can easily write another chown program. All it does is tell the system to change ownership. And the system won't let users change ownership on files in certain ways (I am not exactly sure what permissions are required to change ownership on Linux), for good reason.

    You might give users the ability to run chown through sudo; but that may not be a good idea.

  4. #4
    Just Joined!
    Join Date
    Jun 2005
    Posts
    49
    sudo is going to work. thanks

Posting Permissions

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