Mail Archives: cygwin/2003/04/25/12:09:21
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: <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 -