[Gllug] non-interactive passwd

Murray Peterson murray at orcas.net
Thu May 8 11:55:40 UTC 2003


Hi All,

I was wondering if there is any appropriate way of setting a password for
a user account without running passwd interactively?

essentially I am trying to automagically create accounts on a number
boxen by script and need to do something like this: (and nis, ldap etc is
unfortunately not an option...)

passwd $USER $PASSWORD or passwd $USER << echo $PASSWORD

I am trying to do this on solaris and aix, but I would imagine that
linux would have much the same reaction :)

Anyway, any ideas or pointers to friendly solaris & aix lists would be
much appreciated!

Regards

Murray




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list