| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-Id: | <200509201351.j8KDpRcG004423@tigris.pounder.sol.net> |
| From: | cygwin AT trodman DOT com (Tom Rodman) |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: bash not running bash_profile or bashrc |
| In-reply-to: | <432F6436.70409@pooryorick.com> |
| References: | <432F6436 DOT 70409 AT pooryorick DOT com> |
| Date: | Tue, 20 Sep 2005 08:51:27 -0500 |
| X-IsSubscribed: | yes |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |