| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:message-id:date:from:mime-version:to:subject | |
| :content-type:content-transfer-encoding; q=dns; s=default; b=l4m | |
| BwmrfriD+ZBuXSulkWnN3k47AmfkOIjYpx5Pp9xogyUZWYQSpOjrfRcq1beJ4ACj | |
| trmplw99iW2QWL5hdrdpHBRLgi5dwBHCk1rVCHjaek+ZnjIJa1GxyUuWh9DwuDYh | |
| wVaUR1CN6qkvVURRHdXqNarQN+2jgKDgKLe3Z6BM= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:message-id:date:from:mime-version:to:subject | |
| :content-type:content-transfer-encoding; s=default; bh=+g4mcyeck | |
| qSEMoyw12rQTXRXiyY=; b=qiVFmdSCN4BfcrOCusHN6VB9atSGYucMKP+xkIZsv | |
| zu3Bs6ZWMxK1BXZmfY3PRfnO60ZWEjGQ0hfxHA+PHtIUeL2RIBF9Ybr+1B1ez/5z | |
| ocDoTGB3gMpioM7v4Inl7jegKgtregyfxqt7PoxMpE1fLpyVyjkvcOOVa7nPyo40 | |
| yM= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=3.3 required=5.0 tests=AWL,BAYES_50,SPF_PASS autolearn=no version=3.3.2 |
| X-HELO: | srv1.n8m4re.de |
| Message-ID: | <5413D50B.6090602@muehle-home.de> |
| Date: | Sat, 13 Sep 2014 07:24:27 +0200 |
| From: | =?ISO-8859-15?Q?Denis_M=FChle?= <denis AT muehle-home DOT de> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: "su" command removed / coreutils-8.23-2 |
Am 12.09.2014 06:13, schrieb Eric Blake:
> On 09/11/2014 09:16 PM, Denis Mühle wrote:
>> Hello,
>>
>> today i've updated my cygwin and now i have a big problem. the "su"
>> command was removed.
>>
>> https://sourceware.org/ml/cygwin/2014-08/msg00245.html
>>
>>
>> i need "su" to start my services as seperate user,
>> because i have a webinterface to manage my services for both Linux and
>> Windows and it needs the "su" command.
>>
>>
>>
>> - will the "su" command come back to cygwin?
> I've debated about reviving 'su' as it was in coreutils 8.15 into its
> own package, unlikely to ever be further updated (except maybe
> recompiled as needed), but that takes work and free time, so anyone else
> is more than welcome to attempt it first.
it would be very very nice, if someone there who can do this.
i have a "win2008" server for gameservers, some people have access to
"FTP" and "web-interface" to manage the gameserver. (
start/stop/cronjob/ etc.. )
i'm trust those people, this not a problem. but nobody knows if they
have a spyware.
now without "su" the servers are running with "administrator", i'm very
unhappy with this situation now .
>> - or is there a alternative workaround? ( without password / login )
> You could always compile it yourself, from the 8.15 sources as patched
> downstream for cygwin.
>
yep maybe, but i have no knowledge in this...
i found maybe a possible workaround, but the problem i have is the
"Password prompt"
@ /bin/su:
1.)
#!/usr/bin/bash
echo "thePassword" | runas /savecred /user:${1} ${2}
or
2.)
#!/usr/bin/bash
echo "thePassword" | login ${1} ${2}
anybody ideas or tips?
--
Mit freundlichen Grüßen / Kind regards,
Denis Mühle
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |