Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <008901c30b45$0150fe40$193c82a4@tun.st.com> From: "saber_zrelli" To: References: Subject: Re: cygwin through runas Date: Fri, 25 Apr 2003 17:09:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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-20 00478354-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: To: Cc: 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 ), 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: > To: > Cc: > 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/