From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 07:05:20 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2972A16A46B for ; Tue, 22 Jan 2008 07:05:20 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.freebsd.org (Postfix) with SMTP id 1205A13C4D3 for ; Tue, 22 Jan 2008 07:05:16 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: (qmail 95622 invoked from network); 22 Jan 2008 06:38:32 -0000 Received: from unknown (HELO smtp2.wlink.com.np) (202.79.32.49) by 0 with SMTP; 22 Jan 2008 06:38:32 -0000 Received: (qmail 25983 invoked by uid 98); 22 Jan 2008 06:38:32 -0000 Received: from 202.79.36.7 by smtp2.wlink.com.np (envelope-from , uid 1010) with qmail-scanner-1.25 (clamdscan: 0.90.3/3492. Clear:RC:1(202.79.36.7):. Processed in 0.039608 secs); 22 Jan 2008 06:38:32 -0000 X-Qmail-Scanner-Mail-From: teklimbu@wlink.com.np via smtp2.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.36.7):. Processed in 0.039608 secs) Received: from [202.79.36.7] (HELO [202.79.36.7]) by smtp2.wlink.com.np (qmail-smtpd) with SMTP; 22 Jan 2008 06:38:07 -0000 (Tue, 22 Jan 2008 12:23:07 +0545) Message-ID: <47958F26.3030704@wlink.com.np> Date: Tue, 22 Jan 2008 12:22:26 +0545 From: Tek Bahadur Limbu User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp2.wlink.com.np Spam: No ; 0.2 / 8.0 X-Spam-Status-WL: No, hits=0.2 required=5 Cc: Subject: Need to re-generate the passwords in /etc/passwd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 07:05:20 -0000 Hi all, Due to some security purposes, I need to re-generate all the passwords for my users from the file /etc/passwd. There are about 500 users residing in /etc/passwd. I need a way to quickly generate new random passwords for the users using the /etc/passwd to a text file. The text file after sorting will be used to distribute the new passwords to the users. Thanking you... -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com