This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash not running bash_profile or bashrc


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]