Non-trusted domain user causes mkpasswd and mkgroup to fail

Matt Seitz (matseitz) matseitz@cisco.com
Thu Jul 12 16:02:00 GMT 2007


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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /