X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B7BC319.7060703@gmx.net> Date: Wed, 17 Feb 2010 11:21:13 +0100 From: Frank User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Problems with SU under Windows XP vs. Windows Server Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I am experiencing difficulties using the SU utility. What am trying to do is the following: From a service (running under SYSTEM account) I want to run SU to get a bash shell script executed as a specific user. - When I do this on my Windows XP 32bit box, all is fine and SU runs my script as the user (I verified this by running "whoami" inside the script). - When I do the very same on my Windows 2003 Server 64bit box, then SU hangs forever and I assume it is waiting for a password. So why is this different behaviour on the two boxes? Where can I search for such a setting? I already checked that "/etc/passwd" has all the users of Windows in and correct (i.e. "mkpasswd -l >/etc/passwd"). Both machines run only with local users, no domain. Any help is much appreciated! If more information is needed, just state. If there is a better way to do this task, then I am also open for other suggestions. Thanks and best regards, Frank -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple