delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/07/09:52:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.2.20010407153409.039f03d0@mail.emixode.com>
X-Sender: ns6 AT server DOT nyvlem DOT mine DOT nu
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Sat, 07 Apr 2001 15:51:52 +0200
To: cygwin AT cygwin DOT com
From: Melvyn Sopacua <ns6 AT nyvlem DOT mine DOT nu>
Subject: Ntsec broke after either user change or upgrade
Mime-Version: 1.0

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 AT 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 AT SERVER ~
$ cat <<EOF >./test
 > testfile
 > EOF

admin AT SERVER ~
$ chmod 666 test

admin AT SERVER ~
$ ls -la test
-rw-r--r--   1 admin    None            9 Apr  7 15:37 test

admin AT SERVER ~
$ chown admin.Administrators test

admin AT SERVER ~
$ ls -la test
-rw-r--r--   1 admin    None            9 Apr  7 15:37 test

admin AT 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 AT 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 AT chooseyourmail DOT com
____________________________________




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019