delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/13:10: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: <00fe01c30b4c$a12f0860$193c82a4@tun.st.com>
From: "saber_zrelli" <saber DOT zrelli AT st DOT com>
To: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304251232590 DOT 10996-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: cygwin through runas
Date: Fri, 25 Apr 2003 18:03:44 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Igor ,

The line from /etc/passwd is cutted and pasted.
i've changed the UID , to 25810 ; then the id output became :
uid=25810(tunvqtvalidadm) gid=10513(Administrators)

i think that the problem is in ClearCase and its MVFS file system .
i'm gonna download a patch and apply it .may be the problem will be
corrected.

Thks.



----- 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 5:43 PM
Subject: Re: cygwin through runas


Saber,

First off, is the line quoted below actually in /etc/passwd, or did you
type it in?  If you did, it looks like you made a typo in the SID (146882
instead of 156882).

Secondly, Cygwin UIDs are 16 bit, so it cannot handle UIDs larger than
65535.  Change your UID (the third ":"-separated field in the line you
quoted above) to something less than 65535 (25810 should work).

Thirdly (and this is a guess), you might have to play with the "smbntsec"
setting, or the ClearCase permissions on those shares.  There were also
some messages about ClearCase not working with Cygwin (although not
recently).  A google search on "MVFS filesystem"  should turn up some
matches.
Igor

On Fri, 25 Apr 2003, saber_zrelli wrote:

> mkpasswd -d -u tunvqtvalidadm >> /etc/passwd" worked correclty : there is
a
> new line added to /etc/passwd :
>
>
tunvqtvalidadm:unused_by_nt/2000/xp:156882:10513:U-ST\tunvqtvalidadm,S-1-5-2
1-2000478354-220523388-725345543-146882:/home/tunvqtvalidadm:/bin/bash
>
> now i have folowing results :
>
> id
> uid=25810 gid=10513(Administrators)
> ls -ld :
> drwxr-xr-x    9 25810    Administ    14206 Apr 25 11:22 .
>
> but i still cant do touch in a MVFS file system !!
>
>
> ----- 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:51 PM
> Subject: Re: cygwin through runas
>
> Your login user should be present in the /etc/passwd file for ntsec to
> work correctly (is ntsec even on?).  You might try running "mkpasswd -d -u
> tunvqtvalidadm >> /etc/passwd" -- it shouldn't hurt in any case...
>
> Please attach the output of "cygcheck -svr" (as an uncompressed text
> attachment, as indicated in <http://cygwin.com/problems.html>), so that
> others can help in diagnosing your problem.
> Igor
>
> On Fri, 25 Apr 2003, saber_zrelli wrote:
>
> > 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/



--
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