Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 22 Oct 2002 13:58:56 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: David Meleedy cc: cygwin AT cygwin DOT com Subject: Re: nt domain security issues with cygwin dll 1.3.13-2 In-Reply-To: <200210221614.g9MGEHo04157@jetcar.spd.analog.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 22 Oct 2002, David Meleedy wrote: > > > First off, ls will cut of the name at 8 characters, so the real name is > > probably longer. Secondly, I'm guessing that you don't log in as > > AdiPcAdm... The numeric uid 7469 probably corresponds to your login user. > > Yes, you are correct, I log in as dmeleed, and I had tried that too: > > DMELEEDY-D01-2: mkpasswd -d -u dmeleed > mkpasswd: [2221] The user name could not be found. dmeleed is probably not a domain user. Just omit the -d... Also, the command above will simply print the passwd entries to the console. You should actually update /etc/passwd. To do that, first make a backup copy of /etc/passwd if it exists, then run 'mkpasswd -l > /etc/passwd'. If you have any domain users you want recognized, run 'mkpasswd -d -u >> /etc/passwd' for each user (if you don't have a large domain, try simply 'mkpasswd -d >> /etc/passwd', but beware that this could take *hours* in a large domain). You may also want to create/update /etc/group (again, making a backup copy). > You should use that name as an argument to mkpasswd (when connected to > your domain). > > > If the above fails, adding nontsec to CYGWIN should do the trick. > > Which file do I edit to do this? The best way is to update the system environment variable. In Win2k you'd go to Start->Settings->Control Panel->System->Advanced->Environment Variables->System Variables. From there you either append 'nontsec' to the value of CYGWIN if it exists, or create a new variable named CYGWIN with the value 'nontsec'. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/