Re: no output from net.exe

2002-01-22 Thread Corinna Vinschen
On Tue, Jan 22, 2002 at 10:22:01AM -0500, Alex BATKO wrote: > > But if it's not just cygwin's subtree then that doesn't make sense to me. Why do you make it that complicated? If you want to have POSIX security on the Cygwin subtree, go ahead and change the permissions there. If you want to use

Re: no output from net.exe

2002-01-22 Thread Alex BATKO
But if it's not just cygwin's subtree then that doesn't make sense to me. Here's my reasoning: Before installing cygwin, windows file permissions are correct. After installing cygwin (with CYGWIN='ntea' as opposed to 'ntsec'), windows file permissions should still be correct (and are). Changi

Re: no output from net.exe

2002-01-22 Thread Corinna Vinschen
On Mon, Jan 21, 2002 at 06:07:58PM -0500, Alex BATKO wrote: > Please confirm that this recursion only has to be done for cygwin's > subtree (from /), and not for the entire c:\ tree. As you like. There's no rule. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin

Re: no output from net.exe

2002-01-21 Thread Alex BATKO
+--- | On Sat, Jan 19, 2002 at 12:34:19AM -0600, Alex Malinovich wrote: | > >You could write a script. That's even more fun than setting | > >all user/group/permission info by hand. Treat it as challenge. | > > | > >Corinna | > | > Actually, this almost sounds fun... :) Corr

Re: no output from net.exe

2002-01-19 Thread Corinna Vinschen
On Sat, Jan 19, 2002 at 12:34:19AM -0600, Alex Malinovich wrote: > >You could write a script. That's even more fun than setting > >all user/group/permission info by hand. Treat it as challenge. > > > >Corinna > > Actually, this almost sounds fun... :) Correct me if I'm wrong here, but > if Perl

RE: no output from net.exe

2002-01-18 Thread Alex Malinovich
>You could write a script. That's even more fun than setting >all user/group/permission info by hand. Treat it as challenge. > >Corinna Actually, this almost sounds fun... :) Correct me if I'm wrong here, but if Perl read the attributes of a file, they'd be reported in the same way as they woul

Re: no output from net.exe

2002-01-18 Thread Corinna Vinschen
On Fri, Jan 18, 2002 at 04:32:08PM -0500, Alex BATKO wrote: > > +--- > | ntea just uses the HPFS like extended attributes to simulate > | file permissions. ntsec uses the NTFS ACLs to set real > | permissions. > +--- > > Because I have had CYGWIN='ntea' in ~/.pro

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
+--- | ntea just uses the HPFS like extended attributes to simulate | file permissions. ntsec uses the NTFS ACLs to set real | permissions. +--- Because I have had CYGWIN='ntea' in ~/.profile since the first day of installing cygwin, if I now switch over to 'ntse

Re: no output from net.exe

2002-01-18 Thread Corinna Vinschen
On Fri, Jan 18, 2002 at 03:46:05PM -0500, Alex BATKO wrote: > > +--- > | "ntea" makes you have less usable disk space- it creates a big file > | IIRC. I don't know if it just creates the file on FAT, or if the file is > | only undeletable on FAT. "ntsec" works on NT and NTFS. >

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
+--- | "ntea" makes you have less usable disk space- it creates a big file | IIRC. I don't know if it just creates the file on FAT, or if the file is | only undeletable on FAT. "ntsec" works on NT and NTFS. +--- But on the CYGWIN User's Guide, the warning under

Re: no output from net.exe

2002-01-18 Thread Peter Buckley
"ntea" makes you have less usable disk space- it creates a big file IIRC. I don't know if it just creates the file on FAT, or if the file is only undeletable on FAT. "ntsec" works on NT and NTFS. HTH, Peter Alex BATKO wrote: > +--- > | At 12:59 PM 1/18/2002, Alex BATKO wrote:

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
+--- | At 12:59 PM 1/18/2002, Alex BATKO wrote: | >Is that OK ? I need 'ntea' to effectively use chmod. | | Not if you're working on NTFS partitions you don't. You're *much* better | off using 'ntsec'. You can see the user guide if you're curious about | this setting. Of co

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
woo, hoo !!! +--- | You can set this as a windows system environment variable by right | clicking on my computer -> properties -> environment (or advanced if you | on win2k?). This needs to be set at a system level so the system manager | sees that it is set and passes it on

Re: no output from net.exe

2002-01-18 Thread Larry Hall (RFK Partners, Inc)
At 12:59 PM 1/18/2002, Alex BATKO wrote: >Is that OK ? I need 'ntea' to effectively use chmod. Not if you're working on NTFS partitions you don't. You're *much* better off using 'ntsec'. You can see the user guide if you're curious about this setting. Of course, if you're running on a FAT p

Re: no output from net.exe

2002-01-18 Thread Peter Buckley
Alex BATKO wrote: > woo, hoo !!! > > > +--- > | You can set this as a windows system environment variable by right > | clicking on my computer -> properties -> environment (or advanced if you > | on win2k?). This needs to be set at a system level so the system manager > | s

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
+--- | Have you tried use tee? For example: | | $ net group /domain | tee group.txt | This didn't help because I wasn't getting anything on stdout to begin with, and tee copies stdout to a file. So all i got was: nothing on the screen, and a file of size 0, called group.txt.

Re: no output from net.exe

2002-01-18 Thread Christopher Faylor
On Fri, Jan 18, 2002 at 11:23:35AM -0500, Peter Buckley wrote: >>| Are you sure your sshd server is starting with CYGWIN=tty? >>| >>No. I don't know how to set sshd to start with an environment variable >>preset. So far, I've just always set the variables from ~/.profile: >>export CYGWIN='tty'

Re: no output from net.exe

2002-01-18 Thread Peter Buckley
Alex BATKO wrote: > | Make sure that your term is set to cygwin. > | > Is it enough to put the following in ~/.profile ? > export TERM='cygwin' > > > | Make sure that your window (buffer size) is set to 80x25. > | > I am executing the ssh command (to get into the Windows machine) > from an xt

Re: no output from net.exe

2002-01-18 Thread Alex BATKO
| Make sure that your term is set to cygwin. | Is it enough to put the following in ~/.profile ? export TERM='cygwin' | Make sure that your window (buffer size) is set to 80x25. | I am executing the ssh command (to get into the Windows machine) from an xterm (on my linux box) that has size 80x2

Re: no output from net.exe

2002-01-18 Thread rotaiv
Just as an FYI, I am unable to duplicate this problem. I used my Windows 2000 laptop to ssh to my NT 4 SP6a server and I was able to execute the following command from a bash prompt just fine: $ net group /domain > group.txt I used ssh from the cmd.exe prompt and I used puTTY - each time the

RE: no output from net.exe

2002-01-17 Thread Mark Bradshaw
From: Alex BATKO [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 17, 2002 3:58 PM > To: [EMAIL PROTECTED] > Subject: Re: no output from net.exe > > > > Hi Mark - thanks for replying. I compiled the software you mentioned. > Running `tfy net group` still shows no outp

Re: no output from net.exe

2002-01-17 Thread Alex BATKO
| > -Original Message- | > From: Alex BATKO [mailto:[EMAIL PROTECTED]] | > Sent: Thursday, January 17, 2002 1:04 PM | > To: [EMAIL PROTECTED] | > Subject: no output from net.exe | > | > | > | > When I am logged into my windows machine via ssh, I cannot redirec

RE: no output from net.exe

2002-01-17 Thread Mark Bradshaw
pands ttyfier past it's 80x25 version. Email me if you want it. Mark > -Original Message- > From: Alex BATKO [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 17, 2002 1:04 PM > To: [EMAIL PROTECTED] > Subject: no output from net.exe > > > > When I am l

no output from net.exe

2002-01-17 Thread Alex BATKO
When I am logged into my windows machine via ssh, I cannot redirect the output of the command net.exe into a file, nor capture the output in an array (within a perl script). On the other hand, executing `net.exe group >> zzz` from the cygwin bash shell, and from windows' command.com, works just