delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/11:45:15

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: <003e01c30b41$a1e783f0$193c82a4@tun.st.com>
From: "saber_zrelli" <saber DOT zrelli AT st DOT com>
To: <cygwin AT cygwin DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304251122500 DOT 10996-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: cygwin through runas
Date: Fri, 25 Apr 2003 16:45:00 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

the user id did not correspond to the user mentionned for runas :
it's the default session user.
id :
uid=500(systun) gid=513(None) groups=513(None)

ls -ld :
drwxr-xr-x   44 systun   None        16384 Apr 25 16:41 .

i'm using runas with the user tunvqtvalidadm
and it's  not present in  /etc/passwd file.



----- Original Message -----
From: <pechtcha AT cs DOT nyu DOT edu>
To: <saber DOT zrelli AT st DOT com>
Cc: <cygwin AT cygwin DOT com>
Sent: Friday, April 25, 2003 4:24 PM
Subject: Re: cygwin through runas


On Fri, 25 Apr 2003 saber DOT zrelli AT st DOT com wrote:

>      Hi all ,
>
>      I run cygwin using runas DOS command ,
>      the user i use is an administrator in my local machine , and is
>      registred as domain user too.
>
>      when i get bash prompt , i tried to make touch -a some_file , but the
>      result is : permission denied !
>
>      Is it normal ? ( idont' think)
>
>      thanks for your help.
>      Saber.

It could be normal.  What's the output of "id" and "ls -ld ."?  Is your
user in /etc/passwd?  (By your using "runas", I surmise you're using
WinNT/2k/XP)
Igor
--
http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_ igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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