Setting a default password when adding a new user

From: Benoit.Audet@edsgires.com
Date: Mon Jul 08 2002 - 11:23:48 EDT


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@edsgires.com
__________________________________________
  Que serait la vie sans le parachutisme?
  Vive l'été! 8^)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:45 EDT