how do I give users capabilities

John Militer

How do I give users capabilities in OSX? I googled it and I found no answers. The setcap command doesn't exist in OSX.

Thomas Dickey

The original question asked how to grant users the capability to change file ownership. This is probably not a good idea, but you could grant a given user (or group) the ability to sudo and "limit" that to the chown command.

You might want to limit it further by installing (into an area where they could not modify it) a script which does the chown after checking that the pathnames it affects are not in the system area (though the recent security fixes for OSX would ward off most of the potential damage).

More generally, sudo is where to look. It can allow users (or groups, which means any user who's a member of a group) to execute specific commands — or any command.

Further reading:

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do I give users the ability to make their private playlist?

How do I give multiple users access to a Windows NTFS partition?

How do I give different users access to different rows without creating separate views in BigQuery?

How do I give access to other users if they don't have SSH keys?

How do I give access to a Former users Outlook Calendar to another User

How do I use the PAM capabilities module to grant capabilities to a particular user and executable?

How do I use the "git-like" capabilities of Docker?

How do I use reduce() to mimic the capabilities of forEach()?

How do I test multi-gesture capabilities of a touchpad?

How do I use Firebase database Offline Capabilities

I want to give access to users of their own dropbox from my java web app. How can I do that?

How can I give two users access to a folder?

How can I use setfacl to give no access to "other" users?

How can I give discord users with a specific role limitations?

How do I give name to a mock object?

How do I give animation in Angular

How do I give parameters to function in GraphQL

How do I give a argument to a XSL Transformation?

How do I give this spaceship acceleration?

How do I give PyCharm Admin permission?

How do I give cmd permissions to apache?

How do I give inputs through NSURL

How do i give an editText a fixed width

Flutter how do I give constraints to this gesturedetector?

How do I give buttons colors

how to give permissions for different users

How do I use capsh: I am trying to run an unprivileged ping, with minimal capabilities

How do I Inner Join users table with followed users posts?

How do I add users to another users group?