Setting a default password when adding a new user

From: <Benoit.Audet_at_edsgires.com>
Date: Mon, 08 Jul 2002 11:23:48 -0400

Hi Admins,

Is there a way to automatically set up a "default" password, or a password
from an input file, when adding a new user? The point is that I'm trying
to script a procedure, but to get a user to be valid under Tru64, I seem to
be forced to use the "passwd" command.

Unfortunately, the only way I found to interact with the "passwd" command
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" command
and interact with it via STDIN.

Any toughts or suggests? I will summarise. Thanks!

__________________________________________
  Benoît Audet
  Spécialiste en infrastructures

  EDS Canada (Projet Gires)
  1500 Jean-Talon Nord
  Québec (QC) G1N 2E5
  418.527.1145 ext.224

  benoit.audet_at_edsgires.com
__________________________________________
  Que serait la vie sans le parachutisme?
  Vive l'été! 8^)
Received on Mon Jul 08 2002 - 15:25:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT