This is the mail archive of the cygwin@cygwin.com 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]

Ntsec broke after either user change or upgrade


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 <<EOF >./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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]