win-sudo - Add `sudo` command to Git Bash

  •        2115

If we open msysgit as administrator, we can use it as if we were root. However, it is often easier to open without administrator privileges. Well, Git comes with Bash emulator and you can use *nix commands. "sudo" and "apt-get" are not such - there are tools, programs if you like which obviously you don't have.

https://github.com/imachug/win-sudo

Tags
Implementation
License
Platform

   




Related Projects

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

git-ftp - A quick and efficient way of pushing changed files to a website via FTP

  •    Python

Some web hosts only give you FTP access to the hosting space, but you would still like to use Git to version the contents of your directory. You could upload a full tarball of your website every time you update but that's wasteful. git-ftp.py only uploads the files that changed. We also have a PPA which you can install with sudo add-apt-repository ppa:niklas-fiekas/ppa and then sudo aptitude install git-ftp.

sudo-touchid - A fork of `sudo` with Touch ID support.

  •    C

sudo-touchid is a fork of sudo with Touch ID support on macOS (powered by the LocalAuthentication framework). Once compiled, it will allow you to authenticate sudo commands with Touch ID in the Terminal on supported Macs (such as the late 2016 MacBook Pros). To build sudo-touchid, simply open the included Xcode project file with Xcode 8+, select the Build All target, and click Build.

sudo_pair - Plugin for sudo that requires another human to approve and monitor privileged sudo sessions

  •    Rust

sudo_pair is a plugin for sudo that requires another human to approve and monitor privileged sudo sessions. sudo is used by engineers daily to run commands as privileged users. But on some sensitive systems, you really want to ensure that no individual can act entirely autonomously. At Square, this includes applications that manage our internal access-control systems, store accounting ledgers, or even move around real money. This plugin allows us to ensure that no user can act entirely on their own authority within these systems.

sudo - Development repository for Opscode Cookbook sudo

  •    Ruby

Development repository for Opscode Cookbook sudo


sudo - sudo for windows

  •    Go

Then, you'll see the UAC dialog.requirement go1.8 or later.

django-sudo - Extra security for your sensitive pages

  •    Python

This is an implementation of GitHub's Sudo Mode for Django. django-sudo provides an extra layer of security for after a user is already logged in. Views can be decorated with @sudo_required, and then a user must re-enter their password to view that page. After verifying their password, that user has elevated permissions for the duration of SUDO_COOKIE_AGE. This duration is independent of the normal session duration allowing short elevated permission durations, but retain long user sessions.

Sudo for Windows

  •    CSharp

Sudo for Windows (sudowin) allows authorized users to launch processes with elevated privileges using their own passphrase. Unlike the runas command, Sudo for Windows preserves the user's profile and ownership of created objects.

3snake - Tool for extracting information from newly spawned processes

  •    C

Targeting rooted servers, reads memory from sshd and sudo system calls that handle password based authentication. Doesn't write any memory to the traced processes. Spawns a new process for every sshd and sudo command that is run. Listens for the proc event using netlink sockets to get candidate processes to trace. When it receives an sshd or sudo process ptrace is attached and traces read and write system calls, extracting strings related to password based authentication.

limejs - HTML5 game framework for web and iOS

  •    Javascript

If you consider yourself advanced user and know how to use Git/Python you are probably better off reading through Mac/Linux guide and choosing your best alternative tools/methods yourself. If not then follow this step-by-step route. Download and install Git bash from http://git-scm.com/download/win (if not already installed). While installing select "Use Git Bash only" and Unix style line endings.

win-bash

  •    C

win-bash is port of the GNU bash for Microsoft Windows NT based systems. It is independent from the cygwin library and any other non-standard DLL and does not need any registry variables. win-bash is based on bash_nt from Mountain Math Softw

ionic-cli - The Ionic command line utility

  •    Javascript

```bash$ npm install -g ionic```*Note: For a global install of `-g ionic`, OSX/Linux users may need to prefix the command with `sudo`.*

RFC (Remote Filesystem Checker)

  •    Shell

RFC (Remote Filesystem Checker) is a set of shell (bash) script that should help System Administrators to run a filesystem-checker (afick aide or integrit) from a master-node to a set of other slave-nodes just using ssh, scp, sudo and few other commands.

rails_tutorial_sublime_text - Sublime Text 2 setup used in the Ruby on Rails Tutorial

  •    Python

This assumes that there is a ~/bin directory on your executable path. If that isn't the case, follow the instructions on this Stack Overflow thread. Alternatively, add an alias to sublime_text in your ~/.bashrc file. This method doesn't require sudo. But it assumes you are using bash. There are similar methods available for other shells. Google is your friend.

KSudo

  •    C++

KSudo is a tool for KDE users to easily create the /etc/sudoers file used by sudo. From the KSudo SF-projectpage you can also download KdeSudo which is a grafical frontend to sudo (Please see http://ksudo.sourceforge.net/kdesudo/ for more)

ExTiX - The Ultimate Linux System

  •    

Based on Ubuntu 13.04 64bit with Gnome 3.8 and Cairo-Dock 3.2.1

gosu - Simple Go-based setuid+setgid+setgroups+exec

  •    Go

This is a simple tool grown out of the simple fact that su and sudo have very strange and often annoying TTY and signal-forwarding behavior. They're also somewhat complex to setup and use (especially in the case of sudo), which allows for a great deal of expressivity, but falls flat if all you need is "run this specific application as this specific user and get out of the pipeline".The core of how gosu works is stolen directly from how Docker/libcontainer itself starts an application inside a container (and in fact, is using the /etc/passwd processing code directly from libcontainer's codebase).

elasticsearch-reindex - Simple re-indexing

  •    Java

Note: This script will build and install the plugin assuming elasticsearch is found in /usr/share/elasticsearch. The script will call 'sudo' on the install part, so the script should be run as a user with sudo privileges. Since maven will be used to build the plugin, it requires maven to be installed, which can be installed with the command below on a debian/ubuntu system. This refeeds all documents in index 'indexold' with type 'typeold' into the index 'indexnew' with type 'typenew'. But only documents matching the specified filter will be refeeded. The internal Java API will be used which should be efficient. In this example, the term filter is used to limit the documents that will be reindexed, you can leave out the filter to copy all documents to the new index.

sudo implementation for Windows

  •    C++

A sudo implementation for Microsoft Windows XP. It transforms an Administrator account to a Limited account environment and provides right-click context menu and command line access for running programs and commands with administrative privileges.

unfixed-security-bugs - A list of publicly known but unfixed security bugs

  •    

Please submit a pull request if you have corrections or know about any other unfixed security bugs. When running sudo -u non-root-user as root, TIOCSTI allows the command in sudo -u non-root-user command to execute anything as root. Can be fixed with Defaults use_pty in sudoers. More notes.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.