From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benoit.Audet@edsgires.com Newsgroups: gmane.os.tru64.managers Subject: Setting a default password when adding a new user Date: Mon, 08 Jul 2002 11:23:48 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1026142780 29657 127.0.0.1 (8 Jul 2002 15:39:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2002 15:39:40 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Rabz-0007i5-00 for ; Mon, 08 Jul 2002 17:39:39 +0200 Original-Received: (qmail 25628 invoked by uid 5); 8 Jul 2002 15:25:41 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25620 invoked from network); 8 Jul 2002 15:25:41 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 8 Jul 2002 15:25:41 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYX007GNS6RVB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 08 Jul 2002 11:25:41 -0400 (EDT) Original-Received: from qcmnotes00.edsgires.com ([142.213.86.20]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYX00K0US6K09@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 08 Jul 2002 11:25:33 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 X-MIMETrack: Serialize by Router on qcmnotes00/EDSGIRES(Release 5.0.8 |June 18, 2001) at 2002-07-08 11:23:53 Xref: main.gmane.org gmane.os.tru64.managers:874 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:874 Hi Admins, Is there a way to automatically set up a "default" password, or a passw= ord from an input file, when adding a new user? The point is that I'm tryi= ng to script a procedure, but to get a user to be valid under Tru64, I see= m to be forced to use the "passwd" command. Unfortunately, the only way I found to interact with the "passwd" comma= nd is via STDIN. So, for a new user that I'm creating, I would like to be= able to generate a password without having to perform a "passwd" comman= d and interact with it via STDIN. Any toughts or suggests? I will summarise. Thanks! __________________________________________ Beno=EEt Audet Sp=E9cialiste en infrastructures EDS Canada (Projet Gires) 1500 Jean-Talon Nord Qu=E9bec (QC) G1N 2E5 418.527.1145 ext.224 benoit.audet@edsgires.com __________________________________________ Que serait la vie sans le parachutisme? Vive l'=E9t=E9! 8^) =