Help me understand few things

2002-04-05 Thread Gupta, Sanjay
Hello All, Few things are not clear to me, I would appreciate, if somebody can help me understand the concept. I have included my copy of /etc/group and /etc/passwd file. Q1. When I launch cygwin using shortcut on my desktop which is basically pointing to cygwin.bat , when I issue id command, I

FW: question regarding id command

2002-04-05 Thread Gupta, Sanjay
I have missed word "not" in my previous email. " Why the output of id -Gn and id -Gn Sgupta is NOT same , assuming that I am logged in as Sgupta " It looks like id -Gn prints all the groups (Primary, Secondary), if I put user name like id -Gn SGupta , it only prints the Primary Group. Is it t

Re:bash script Q

2002-04-05 Thread Gupta, Sanjay
I assuming that I am reading all files from /tmp/ directory for File in /tmp/* do ## Check, if it is a File if [ -f $File ] ; then ## Yes, it is a file ## Get the basename and cut two characters TWOBYTES=`basename $File | cut -b1,2` if [ "$TWOBYTES" = "%!" ] ; then

question regarding id command

2002-04-05 Thread Gupta, Sanjay
When I issue the id command as follows $id -Gn it gives me the following output Domain Users Everyone DBAs Epylon Employees Neptune DBA Operations Administrators Users ORA_DBA $ id -Gn SGupta It gives only the following output Domain Users $ whoami SGupta My current user is SGupta, so when I

RE: Which OS Type

2002-04-05 Thread Gupta, Sanjay
be able to handle c: elif [ -f c:/mydir/test.sql ]; then sqlplus scott/tiger @c:/mydir/test.sql else echo "Can't find .../mydir/test.sql" exit 1 fi -Original Message- From: Michael A Chase [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 11:06 PM To: Gup

Re: Problem in downloading

2002-04-04 Thread Gupta, Sanjay
In the CYGWIN setup, when it asks for Install from Internet Download from Internet Install from Local Directory You select Download from internet I have used the following ftp site, it works great. ftp.nas.nasa.gov Once, you are done with downloading the packages, then again run setup and now s

Re: Which OS Type

2002-04-04 Thread Gupta, Sanjay
Thanks Randall R Schulz, Your response was very quick. I just want to make sure that all windows platforms have CYGWIN_ as prefix in cygwin, then I can simply grep CYGWIN_ from uname. Sanjay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.c

RE:Which OS Type

2002-04-04 Thread Gupta, Sanjay
It looks like uname -s command will work. Can anybody would tell me what is the output of uname -s command on WindowsNT / Windows 2000/Windows XP/ Windows98 etc. I have windows 2000, and uname -s gives me CYGWIN_NT-4.0 , I am not sure why it says NT-4.0. Is prefix CYGWIN_ common on all windows r

Which OS Type

2002-04-04 Thread Gupta, Sanjay
Is there any command to find out which Operating System I am using. Basically, I need to know whether the OS is Windows type or Unix Type. The Unix type could be any Unix e.g. Sun , HP etc , Linux etc. I am writing a shell script and if the shell script is run under windows environment using cygw

RE: mcrypt commnad

2002-04-04 Thread Gupta, Sanjay
:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 10:58 PM To: Gupta, Sanjay Cc: '[EMAIL PROTECTED]' Subject: Re: mcrypt commnad / "Gupta, Sanjay" <[EMAIL PROTECTED]> wrote: | I have read http://lists.hellug.gr/pipermail/mcrypt-dev/2001/87.html | note and I have t

Re: mcrypt commnad

2002-04-04 Thread Gupta, Sanjay
: >/ "Gupta, Sanjay" <[EMAIL PROTECTED]> wrote: >| I have read http://lists.hellug.gr/pipermail/mcrypt-dev/2001/87.html >| note and I have tried every thing which was mentioned here but did not help. > >Any special reason for wanting crypt/mcrypt, maybe choose pgp or

Re: mcrypt commnad

2002-04-03 Thread Gupta, Sanjay
: >At 00:21 4-4-2002, Gupta, Sanjay wrote: >>My answer :- As I recall the crypt command in all Unix works the same way > >You actually worked with "all Unix"? Wow! That's impressive! > >>but the same thing does not work in cygwin. The purpose of crypt comma

RE: mcrypt commnad

2002-04-03 Thread Gupta, Sanjay
es not work in cygwin. The purpose of crypt command in cygwin is different than the purpose of crypt command in unix. I have no idea why it is different but it is. Sanjay -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:51 PM To: Gupta, Sa

RE: mcrypt commnad

2002-04-03 Thread Gupta, Sanjay
I have read http://lists.hellug.gr/pipermail/mcrypt-dev/2001/87.html note and I have tried every thing which was mentioned here but did not help. Sanjay -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:51 PM To: Gupta, Sanjay Cc

RE: mcrypt commnad

2002-04-03 Thread Gupta, Sanjay
I have tried --disable-included-getpass but did not help. Sanjay -Original Message- From: Andrew Markebo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:54 PM To: Gupta, Sanjay Cc: '[EMAIL PROTECTED]' Subject: Re: mcrypt commnad Ahh the url I posted also con

RE: crypt command

2002-04-03 Thread Gupta, Sanjay
Richard, I was able to compile mhash library on cygwin. Copy ctype.h and _mingw.h to /usr/include direcctory and I have changed the following line configure file. CFLAGS="${CFLAGS} " #CFLAGS="${CFLAGS} -mno-cygwin" I was able to compile mhash and libmcrypt but still I am getting error in mcrypt

mcrypt commnad

2002-04-03 Thread Gupta, Sanjay
Hello, I am getting very hard time in compiling the mcrypt command in cygwin, I was able to compile the required library for mcrypt but now I am getting these errors. make[1]: Entering directory `/usr/src/mcrypt-2.5.10/src' /bin/sh ../libtool --mode=link gcc -g -O2 -I/usr/local/include -L/usr/

crypt command

2002-04-02 Thread Gupta, Sanjay
Since the crypt command in cygwin does not work same as crypt command in Unix, so somebody suggesed use mcrypt command (http://mcrypt.hellug.gr/mcrypt/index.html) , I was able to download mcrypt source and there required library files Libmhash and Libmcrypt but when I compile mhash on cygwin, I ge

RE: crypt command

2002-03-22 Thread Gupta, Sanjay
ame > encryptedfilename where filename is the name of file you want to encrypt. -Original Message- From: Richard Campbell [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:40 PM To: Gupta, Sanjay Subject: RE: crypt command Specifically, crypt is in the "crypt" package, under the

crypt command

2002-03-22 Thread Gupta, Sanjay
Hello All, I am looking for crypt command similar to unix crypt command. In Unix, I could do crypt password < filename > encryptedfilename but the same thing does not work in cygwin. I have asked this question before and did not get any satisfactory response. Please atleast tell me, whether it

RE: Crypt Command

2002-03-20 Thread Gupta, Sanjay
//sources.redhat.com/ml/#faqs> >Mail-Followup-To: [EMAIL PROTECTED] >Delivered-To: mailing list [EMAIL PROTECTED] >From: "Gupta, Sanjay" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: Crypt Command >Date: Wed, 2

Crypt Command

2002-03-20 Thread Gupta, Sanjay
Hello, I am looking for crypt command in cygwin. It looks like, I have crypt command , but it does not work like in Sun OS. I want to encrypt a file using some password. How to do this in cygwin ?. in Unix, I do this, but the same thing does not work in cygwin. crypt mypassword < /usr/filename

RE: df -k very slow

2002-03-08 Thread Gupta, Sanjay
Idea, why it is slow when connected by ssh ? Sanjay -Original Message- From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:21 AM To: Gupta, Sanjay; '[EMAIL PROTECTED]' Subject: Re: df -k very slow At 01:09 PM 3/8/2002, Gupta, Sa

df -k very slow

2002-03-08 Thread Gupta, Sanjay
When I run df -k it is kind of very slow, it takes more than 10 seconds or more to display results. Is it normal ? Thanks Sanjay Gupta -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/

ssh problem setgid Invalid Argument

2002-03-05 Thread Gupta, Sanjay
It looks like some problem in cygwin1.dll version 1.3.10. Once I have downgraded the dll to 1.3.9, ssh worked fine. Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FA

ssh problem setgid Invalid Argument

2002-03-05 Thread Gupta, Sanjay
I am getting the following problem $ ssh sgupta@sgupta sgupta@sgupta's password: Last login: Tue Mar 5 12:07:14 2002 from ntempestini1.epylon.lan Fanfare!!! You are successfully logged in to this server!!! setgid: Invalid argument Connection to sgupta closed. **sgupta is the domain account.