Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AE13376.8050909@netscape.net> Date: Sat, 21 Apr 2001 12:45:02 +0530 From: venkatesh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ntsec with W2K workgroup References: <3ADC4968 DOT 5090502 AT netscape DOT net> <20010417163411 DOT G12559 AT cygbert DOT vinschen DOT de> <3AE03A26 DOT 4070404 AT netscape DOT net> <20010420160057 DOT E15499 AT cygbert DOT vinschen DOT de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Hi Thanks for your suggestions. I have cleanly reinstalled everything now and working fine. I think when I made changes to ownerships some time back with Win 2000 permissions this problem happened. Can i use login in a workgroup. Followed the ntsec document and login.readme. When i tried login in bash shell I could not login. Does login restrict usernames to 8 characters. I tried typing venkates as username also. Others are fine. /etc/passwd file: Everyone:*:0:0:,S-1-1-0:: SYSTEM:*:18:18:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:/home/root: Administrator::500:544:,S-1-5-21-1715567821-813497703-854245398-500:/home/root:/bin/bash venkatesh::1003:547:Venkatesh,U-venkatesh,S-1-5-21-1715567821-813497703-854245398-1003:/home/venkatesh:/bin/bash /etc/group file: Everyone:S-1-1-0:0: SYSTEM:S-1-5-18:18: None:S-1-5-21-1715567821-813497703-854245398-513:513: Administrators:S-1-5-32-544:544: Power Users:S-1-5-32-547:547: Users:S-1-5-32-545:545: venkatesh cygwin AT cygwin DOT com wrote: > On Fri, Apr 20, 2001 at 07:01:18PM +0530, venkatesh wrote: > >> Hi >> Actually I have used setup.exe to install cygwin. In the /bin directory >> all the files don't have any permission bit set when I use ntsec. And >> the files have owner/group as administ/None. Without ntsec the files >> owner/group are venkates/Power Us. > > > So you have changed your /etc/passwd already. If not, it would > have been venkates/None. > > >> Most of the files I could execute in that directory but some >> applications such as man complain about troff not found etc. When i >> remove ntsec I don't have any problem. Should I set ntsec env variable >> before using setup.exe. > > > That doesn't have any effect. setup.exe is not a Cygwin application. > > >> In my /etc/passwd and etc/group entries have >> None as group for all users. I tried changing them (like 547)also. > > > That's ok. None is the primary group setting on workstations and > servers outside of a domain. It's not changable in NT, except by > entering a domain! The well known local groups like `Users' > `Power Users', `Administrators' are only usable as suplementary > groups. Cygwin manages to use the settings in /etc/passwd as > if another group is your primary group when ntsec is on but > as soon as you create a file using a non-Cygwin application you > will see that it has group `None' again. > > I suggest reading the ntsec chapter in the online user guide: > http://cygwin.com/cygwin-ug-net/ntsec.html > > Corinna -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple