[HPADM] script for reseting root passwd

From: daniel parkes (liquidsmail@gmail.com)
Date: Mon Jun 05 2006 - 12:23:39 EDT


Hy people,

I need to make a script that is able to put a standard password to the root
account without knowing the old one.

I know you can use this command to put it to null

usr/sam/lbin/usermod.sam -F -p "" root

but after that how can i change it inside a script to a new password lets
say foo for example???

thnx People

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:53 EDT