Re: bash not running bash_profile or bashrc

2005-09-20 Thread Tom Rodman
Dave/all: mkpasswd does fail in our "huge" :-> domain. In the example I posted, I did not kill mkpasswd, it returned 1, and the message "mkpasswd (249): [5] Access is denied.". Here's the example again: ~ $ time mkpasswd -d |wc -l ; echo mkpasswd returned: ${PIPESTATUS[0]} #let it run, did

RE: bash not running bash_profile or bashrc

2005-09-20 Thread Dave Korn
Original Message >From: Tom Rodman >Sent: 20 September 2005 14:51 > On Mon 9/19/05 21:21 EDT Poor Yorick wrote: > >> mkpasswd -d > /etc/passwd >> >> seems to hang. I get no output and it never completes. I don't suppose you've actually allowed it to run forever yet, so "never" comple

Re: bash not running bash_profile or bashrc

2005-09-20 Thread Tom Rodman
On Mon 9/19/05 21:21 EDT Poor Yorick wrote: > mkpasswd -d > /etc/passwd > > seems to hang. I get no output and it never completes. For us, "mkpasswd -d" dumps ~1500-2000 users and then errs out. Our domain is hugh. My work around is to build /etc/passwd with a script that repeatedly calls "

Re: bash not running bash_profile or bashrc

2005-09-20 Thread Poor Yorick
Eric Blake wrote: gets fired up with startxwin.bat correctly runs .bash_profile. However, if I start another xterm from that xterm, neither .bash_profile nor .bash_rc is run. PS1 gets reset to "$". The second xterm also loses tab-completion functionality. I do, however, in the second xterm

Re: bash not running bash_profile or bashrc

2005-09-19 Thread Eric Blake
> I recently deleted c:\cygwin and my package repository and then > installed cygwin again using the latest setup.exe. That's usually not necessary. It is possible (even recommended) to upgrade without wiping the older versions, so that your customizations are preserved. > The first xterm that

bash not running bash_profile or bashrc

2005-09-19 Thread Poor Yorick
I recently deleted c:\cygwin and my package repository and then installed cygwin again using the latest setup.exe. The first xterm that gets fired up with startxwin.bat correctly runs .bash_profile. However, if I start another xterm from that xterm, neither .bash_profile nor .bash_rc is run.