Commit c84c7a06 authored by Russ Fish's avatar Russ Fish
Browse files

Install a dummy sudo on Windows, since everybody is in the Administrators group already.

parent 4aea12cc
......@@ -96,6 +96,8 @@ script-install: dir-install $(SCRIPTS)
# Put the tcsh desktop startup script in the CygWin root directory.
$(INSTALL) -m 755 $(SRCDIR)/cygwin-tcsh.bat /
ln -f -s /bin/shutdown /sbin/shutdown
# Everybody is in the Administrators group already, so sudo is irrelevant.
$(INSTALL) -m 755 $(SRCDIR)/sudo.dummy /bin/sudo
$(INSTALL) -m 755 $(SRCDIR)/rc.cygwinxp $(BINDIR)/rc/rc.firstboot
$(INSTALL) -m 755 $(SRCDIR)/rc.cygwinxp $(BINDIR)/rc/rc.cygwin
# The following will fail if the user login script is still busy in a shell.
......
#! /bin/sh
# Dumb dummy sudo. Everybody is in the Administrators group already!
csh -c "$*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment