Novell Home

Automated Root Password Change Script for Multiple Systems

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

BASH script to gather system names and change root password.

Vitals

Product Categories:
  • Open Enterprise Server
  • Functional Categories:
  • Linux
  • Workgroup
  • Posted:5 Jun 2006
    File Size:10KB
    License:Free
    Download:/coolsolutions/tools/downloads/rootpass-noarch-1.0.tar
    Publisher:Bryan Green

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    At our company, we have a policy to periodically change the root password on our Linux systems. There didn't seem to be much on the internet that could do this. This script will accept a single server name, a list of servers, or query LDAP for servers to change the password on.

    Un-tar the file to a directory called /opt/rootpass (or choose your own but modify the script to reflect the change). Edit /opt/rootpass/rootpass so that it is appropriate for your environment (there is documentation at the top of the file to walk you through it). The process is automated but still requires some manual intervention to process the password changes (a fully automatic root password change might be a bit scary anyway.) When you're ready, execute /opt/rootpass/rootpass to begin.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell