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: Syncronizing Windows users and cygwin useres automaticaly


On Wed, 1 Mar 2006, Mair, Paul wrote:

<http://cygwin.com/acronyms/#PCYMTWLL>.  Thanks.

> Hallo,
> I'm using cygwin and Windows Server 2003.
> Is there a possibility to synchronization of the Windows user and the
> cygwin users automatically on the creation of the Windows user without
> typing mkpasswd -local > /etc/passwd.
> Or exists a possibility to create a user into cygwin that is than
> automatically createt in Windows.
> Thanks for any suggestion

Well, you could contribute the "useradd" and "groupadd" scripts that
invoke "net user" and "net group" respectively, and then run "mkpasswd -u
username >> /etc/passwd" and "mkgroup -g groupname >> /etc/group"...  I'm
sure this kind of functionality would be well received.

However, adding the user via the regular Windows means would still require
explicit synchronization.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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]