Mail Archives: cygwin/2001/04/07/09:52:02
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 -