Posted on 10-24-2024 03:52 AM
Good morning.
In my instance of Jamf Pro I have several developers using Rancher Desktop in Administrative Mode, which requires "sudo access" for some operations. Therefore, at each start, they must rise (we have provided a special tool) to start the application. Is there a way I can avoid this step for them?
I tried with a script that modifies the sudoers file like this:
echo "$USER_NAME ALL=(ALL) NOPASSWD: $/Applications/Rancher Desktop.app/Contents/MacOS/Rancher Desktop" | sudo tee -a /etc/sudoers > /dev/null.
The file is indeed modified but Rancher continues to ask for the password on startup.
Am I doing something wrong? Are there other ways?
I already tried also to install the app in the User Folder.
Posted on 10-24-2024 10:14 AM
You need to look in to why Rancher needs admin access, and change the permissions for that daemon or whatever adding standard users to the list of groups with access. Similar process to allowing a standard user to modify wifi or printer settings. In the long run you probably want to look into a permissions management tool that can handle permissions escalations like this.
Posted on 10-24-2024 03:27 PM
Sure I will try to investigate :)
What do you mean with permission management tool? Something like SAP Privileges or something different?