This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Non-trusted domain user causes mkpasswd and mkgroup to fail


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]