Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-Id: <5.0.2.1.2.20010407153409.039f03d0@mail.emixode.com> X-Sender: ns6@server.nyvlem.mine.nu X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 07 Apr 2001 15:51:52 +0200 To: cygwin@cygwin.com From: Melvyn Sopacua Subject: Ntsec broke after either user change or upgrade Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Hi all! Here's the full story: Either a bad sector or Direct X upgrade destroyed the Administrator registry. After a lot of fiddeling, decided to create another user, called Admin. Before that, I upgraded my cygwin installation from 1.1.6 to 1.1.8: admin@SERVER ~ $ uname -a CYGWIN_NT-4.0 SERVER 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 unknown been doing a lot of reconfiguring, but I just can't get ntsec to work anymore: admin@SERVER ~ $ cat <./test > testfile > EOF admin@SERVER ~ $ chmod 666 test admin@SERVER ~ $ ls -la test -rw-r--r-- 1 admin None 9 Apr 7 15:37 test admin@SERVER ~ $ chown admin.Administrators test admin@SERVER ~ $ ls -la test -rw-r--r-- 1 admin None 9 Apr 7 15:37 test admin@SERVER ~ $ cat /cygwin.bat @echo off F: chdir \cygwin\bin set CYGWIN=noenvcache export ntsec bash --login -i On the NTSecurity level, I changed everything under Cygwin, to have 'admin' full control. The password file, doesn't contain the original Administrator anymore, and Admin is setup as: admin@SERVER ~ $ cat /etc/passwd | grep ^Admin Administrators:*:544:544:,S-1-5-32-544:: Admin::1002:513:,S-1-5-21-1584879045-174592816-227697207-1002:/home/admin:/bin/b ash There are no domains. The 'Server' runs NT Workstation 4.0SP6a. I'm currently running under the Admin user. Funny thing is, that login (as seen in ftp and ssh) now does work correctly, only - other users cannot upload anything, since the default mode of 755 for directories applies. Any help is appreciated. Regards, Melvyn Sopacua ____________________________________ Spamfilters are active and redirected to: spamrecycle@chooseyourmail.com ____________________________________ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple