delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | Ao8CAM7tlUarR7PD/2dsb2JhbAA |
X-IronPort-AV: | i="4.16,533,1175497200"; d="scan'208"; a="8194970:sNHT13280154" |
MIME-Version: | 1.0 |
Subject: | RE: Non-trusted domain user causes mkpasswd and mkgroup to fail |
Date: | Thu, 12 Jul 2007 09:02:55 -0700 |
Message-ID: | <70952A932255A2489522275A628B97C304C12ABF@xmb-sjc-233.amer.cisco.com> |
In-Reply-To: | <CA77FC40E7A2D24695CF3C790BB73185DB0D4A@DOVMS10001.goss.gossinternational.com> |
References: | <CA77FC40E7A2D24695CF3C790BB73185DB0D4A AT DOVMS10001 DOT goss DOT gossinternational DOT com> |
From: | "Matt Seitz \(matseitz\)" <matseitz AT cisco DOT com> |
To: | <cygwin AT cygwin DOT com> |
Authentication-Results: | sj-dkim-3; header.From=matseitz AT cisco DOT com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l6CG388H017044 |
From: Long, Phillip GOSS [mailto:Phillip DOT Long AT gossinternational DOT com] > [...]what I did was to use 'runas' in a CMD window to log on as the user in the other (untrusted, > IIRC) domain and run 'mkpasswd' and 'mkgroup' from there, [...] Thank you very much! Using: runas /netonly /user:domain\user "cmd" and then: cd \cygwin cygwin.bat mkpasswd -d domain -u user >> /etc/passwd did the trick! For extra credit, I tried the same thing to try to add a user from a stand-alone server (not a member of any domain). Unfortunately, running mkpasswd -d machine -u user again gave the error: mkpasswd (749): [1355] The specified domain either does not exist or could not be contacted. But I can live without that for now. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |