Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Mon, 16 Apr 2001 17:33:57 -0400 From: Christopher Faylor To: cygwin-apps AT cygwin DOT com Subject: Re: su in sh-utils Message-ID: <20010416173357.B21767@redhat.com> Reply-To: cygwin-apps AT cygwin DOT com Mail-Followup-To: cygwin-apps AT cygwin DOT com References: <20010416162024 DOT A20128 AT redhat DOT com> <20010416232157 DOT I8266 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <20010416232157.I8266@cygbert.vinschen.de>; from cygwin-apps@cygwin.com on Mon, Apr 16, 2001 at 11:21:57PM +0200 On Mon, Apr 16, 2001 at 11:21:57PM +0200, Corinna Vinschen wrote: >On Mon, Apr 16, 2001 at 04:20:24PM -0400, Christopher Faylor wrote: >> I am thinking of adding an "su" shell script in sh-utils which >> says something like to stderr: >> >> su: This command is currently not supported in a Cygwin environment. >> >> and does an "exit 1" >> >> Does this make sense or are we close to a fully functional su? > >It's not too far away... but the above is an excellent simulation >in the meantime. I don't know if you saw the recent thread in cygwin but, as it turns out, I didn't remove su.exe on purpose. The install for su in the sh-utils Makefile doesn't allow for the installation of su unless you are running as root, which I don't do when making a net release of course. So, the answers that Larry and I have been giving are not 100% precise... cgf