delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/27/18:03:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020427174959.02cbc2a8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Sat, 27 Apr 2002 18:00:05 -0400
To: terrificskyfox <terrificskyfox AT 21cn DOT com>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: How can I get all permissions when I login to cygwin
In-Reply-To: <MPG.173566a3a0022df5989681@news.gmane.org>
References: <MPG DOT 17334ae23f455ac8989680 AT news DOT gmane DOT org>
<4 DOT 3 DOT 1 DOT 2 DOT 20020426095442 DOT 02c529a8 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 01:54 PM 4/27/2002, terrificskyfox wrote:
>First, thank you for your reply.
>
>I using cygwin.bat file to login to the cygwin, the contents of the file 
>are in below:
>
>         @echo off
>
>         f:
>         chdir f:\cygwin\bin
>
>         bash --login -i
>
>When I entered into the system, the shell prompt displayed as 
>"Administrator AT HOSTNAME...", then I tried to change the file's 
>permissions, but I could not do it(I could only control the -w 
>permission of the file and only of my own account, but the file owner is 
>me!). 


OK, what was the command you were using to change the permissions?
Perhaps it would be good for you to post a sample of what you tried and
what the result was.  The output of cygcheck -s -r -v may also be useful.
Running the same problem command under 'strace' may show something too.


>Then I rewrite "bash --login -i" to "bash", so I could enter the 
>system first(displayed "bash-2.05a$...) ,and then used the user account 
>in my win2000 system to login to the system, but the shell said "login 
>incorrectly". Now I want to know how can I use the 2nd method mentioned 
>above to login to the system and get all permissions.


You cannot use 'login' to login to Cygwin.  If you're curious as to the 
details of this, you can look at the email archives.  This has been discussed
there before, even as recently as last week.  If you really want to do this,
you should install and configure OpenSSH.  It will allow you to do this.  I
*HIGHLY* recommend that you return your cygwin.bat file back to its original
state.  There's no benefit to having it otherwise (and such a change really
makes problems with your installation something that this list can't help you 
with).


>I am a chinese boy, so my english is poor, if words above puzzled you, I 
>am sorry.


Your English is just fine! :-)



>In article <4 DOT 3 DOT 1 DOT 2 DOT 20020426095442 DOT 02c529a8 AT pop DOT ma DOT ultranet DOT com>, lhall AT rfk DOT com 
>says...
> > At 11:31 PM 4/25/2002, terrificskyfox wrote:
> > >When I login to cygwin using administrator, I found that I did not have 
> > >all permissions. How can I get them.
> > 
> > 
> > Close your eyes and turn around three times while saying "I need all 
> > permissions, I need all permissions..." ;-)
> > 
> > Seriously, you need to be more specific about what you're doing and 
> > the issues you see before someone can attempt to offer you advice.
> > 
> > 
> > >Is there some parameters should I use when I login to cygwin?
> > 
> > 
> > I don't know.  What are you using to "login"?
> > 
> > 
> > 
> > Larry Hall                              lhall AT rfk DOT com
> > RFK Partners, Inc.                      http://www.rfk.com
> > 838 Washington Street                   (508) 893-9779 - RFK Office
> > Holliston, MA 01746                     (508) 893-9889 - FAX
> > 
> > 
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> > 
> > 
> > 
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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