automated password change for a non-root user

From: Christopher L. Barnard (cbar44_at_tsg.cbot.com)
Date: 01/30/04

  • Next message: Bruntel, Mitchell L, ALABS: "SUMMARY WAS: OT? Philosophical Question on SA responsibilities"
    Date: Fri, 30 Jan 2004 13:38:43 -0600 (CST)
    To: sunmanagers@sunmanagers.org
    
    

    I need to come up with a method of changing the password on several
    hundred machines for a single (non-root) user. I have a central host that
    can reach all of these boxes, but doing an
    "ssh remotehost -l remoteuser passwd" does not work since passwd is
    interactive.

    I am assuming that the existing password for this account is known and
    is the same on all machines. I have created something like this before
    using expect, but that relied on the prompt to tell when logged in. I
    cannot rely on that this time since the prompt can be different on different
    machines.

    These are usually local accounts, but there are the occasional NIS maps
    that have the account.

    Can anyone come up with ideas on how this can be done? Right now the password
    is manually changed on each machine, and it needless to say takes a loooooong
    time.

    TIA and I will summarize.

    +-----------------------------------------------------------------------+
    | Christopher L. Barnard O When I was a boy I was told that |
    | cbarnard@tsg.cbot.com / \ anybody could become president. |
    | (312) 347-4901 O---O Now I'm beginning to believe it. |
    | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
    +----------PGP public key available via finger or PGP keyserver---------+
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Bruntel, Mitchell L, ALABS: "SUMMARY WAS: OT? Philosophical Question on SA responsibilities"

    Relevant Pages

    • Re: Unable to Share Folder
      ... It may look daunting, but if you follow the steps at the links and suggestions below systematically and calmly, you will have no difficulty in setting up your sharing. ... Problems sharing files between computers on a network are generally caused by 1) a misconfigured firewall; or 2) inadvertently running two firewalls such as the built-in Windows Firewall and a third-party firewall; and/or 3) not having identical user accounts and passwords on all Workgroup machines; 4) trying to create shares where the operating system does not permit it. ... You do not need to be logged into the same account on all machines and the passwords assigned to each user account can be different; the accounts/passwords just need to exist and match on all machines. ...
      (microsoft.public.windowsxp.general)
    • Re: Folder Sharing Security
      ... I turned off simple file sharing. ... I created a user account on my machine and gave it a password. ... start by running the Network Setup Wizard on all machines (see ... With Windows Firewall, this means allowing File/Printer ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Folder Sharing Security
      ... I turned off simple file sharing. ... I created a user account on my machine and gave it a password. ... start by running the Network Setup Wizard on all machines (see ... With Windows Firewall, this means allowing File/Printer ...
      (microsoft.public.windowsxp.security_admin)
    • Re: seeing another computer on a LAN
      ... Both machines are XP Pro ... so I'm hoping to use Administrator on both. ... account and all will be well, but I'm concerned re whether the Administrator ... caused by 1) a misconfigured firewall; ...
      (microsoft.public.windowsxp.network_web)
    • Re: Sharing folders that everybody can read ?
      ... Even with the "guest" account ... has a different password on the two machines. ... how to let ANYBODY read a folder. ...
      (microsoft.public.windowsxp.security_admin)