On 9/13/07, mac borje <[EMAIL PROTECTED]> wrote: > hi everyone, > > Iam try to automate changing password on a curtain user on a ubuntu box coz > passwd is a interactive program that will ask a password then ask again to > retype. it is very helpful if some will tell me how to issue a single > command to change password that will replaces the entry on the /etc/shadow > coz i have a program the will grep that and inject on pearl script to have a > deployment program for new password on the offline box.
you can also use expect. man expect -- sometimes truth is stranger than fiction -bad religion- http://www.bloglines.com/blog/mailist _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

