This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash not running bash_profile or bashrc
- From: cygwin at trodman dot com (Tom Rodman)
- To: cygwin at cygwin dot com
- Date: Tue, 20 Sep 2005 08:51:27 -0500
- Subject: Re: bash not running bash_profile or bashrc
- References: <432F6436.70409@pooryorick.com>
On Mon 9/19/05 21:21 EDT Poor Yorick wrote:
<snip>
> 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 "mkpasswd -d -u USERNAMEHERE" (
for the subset of users I need).
Here's what happens:
~ $ time mkpasswd -d |wc -l ; echo mkpasswd returned: ${PIPESTATUS[0]}
mkpasswd (249): [5] Access is denied.
1415
real 2m52.938s
user 0m1.858s
sys 0m4.608s
mkpasswd returned: 1
~ $ uname -a;date
CYGWIN_NT-5.0 OurHost08 1.5.19s(0.138/4/2) 20050919 11:51:47 i686 unknown unknown Cygwin
--
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/