Giter Site home page Giter Site logo

nsauthenticatedtask's Introduction

NSAuthenticatedTask

UNDER DEVELOPMENT (currently supports basic functions)

A framework that adds administrator Authentication support to NSTask so you can execute your task with root privileges! Follows Apple's recommended way of doing it (using SMJobBlessHelper and XPC) so no deprecated APIs here!

Supported Features

  • Standard (NSTask) functionality
  • Launch Authenticated
  • Pass arguments
  • Pass current directory
  • Custom Authentication Icon (still quite buggy, though! #3)
  • Custom Authentication Text
  • Pass environment variables
  • Pipes (nearly done)

Projects Currently Using NSAuthenticatedTask

ManageConky (The de-facto Manager for Conky on macOS)
cocoasudo (a new implementation)

Attributions

Icons

Key by Luis Prado from the Noun Project

LICENSE

Dual-Licensed under 996ICU License and MIT License.

By using this project as a company (or even person), you agree that your company (or yourself) will use the project while abiding to the labor rules of your country's. For more info, and specific law matters carefully read the 996ICU License.

SUPPORTING ๐Ÿ’ฐ

paypal

Become a Patron!

nsauthenticatedtask's People

Contributors

npyl avatar

Stargazers

 avatar Dominik Bucher avatar tmaone avatar  avatar Mikal avatar Jingwei Dai avatar Jason Woodland avatar Pierluigi Galdi avatar Wolfgang Baird avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

durant

nsauthenticatedtask's Issues

Implement standard NSTask functionality

Side-effect of our implementation: Using apple's NSTask to store NSAuthenticatedTask information gives us the ability to throw default apple errors when required. :)

Introduce the SESSION concept

A SESSION (authorized session) is our concept for maintaining admin permissions for a requester even after an NSAuthenticatedTask instance has been destroyed.

This will allow cocoasudo to work authenticated even after cocoasudo exits.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.