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" Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: References: From: "Matt Seitz \(matseitz\)" To: 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 Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit 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/