This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Non-trusted domain user causes mkpasswd and mkgroup to fail
- From: "Matt Seitz \(matseitz\)" <matseitz at cisco dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 12 Jul 2007 09:02:55 -0700
- Subject: RE: Non-trusted domain user causes mkpasswd and mkgroup to fail
- Authentication-results: sj-dkim-3; header.From=matseitz@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
- References: <CA77FC40E7A2D24695CF3C790BB73185DB0D4A@DOVMS10001.goss.gossinternational.com>
From: Long, Phillip GOSS [mailto:Phillip.Long@gossinternational.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/