X-Spam-Check-By: sourceware.org Date: Wed, 1 Mar 2006 15:21:50 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: "Mair, Paul" cc: cygwin AT cygwin DOT com Subject: Re: Syncronizing Windows users and cygwin useres automaticaly In-Reply-To: <7319D7A3FF3A104A8CE5A7FAB70E48D1092A4C37@s00002.prov.bz> Message-ID: References: <7319D7A3FF3A104A8CE5A7FAB70E48D1092A4C37 AT s00002 DOT prov DOT bz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 On Wed, 1 Mar 2006, Mair, Paul wrote: . 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/