Solved

Changing Passwords for  Windows and Linux servers  in bulk

Posted on 2016-11-21
7
85 Views
Last Modified: 2016-11-23
Is there any specific tool or utility I can use to change passwords for many Windows Servers (2008 /2012) and Linux (Suse Linux 11) quickly.
0
Comment
Question by:cgeorgeisaac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 54

Expert Comment

by:McKnife
ID: 41896492
On the windows side, I'd use a simple for-loop.
Is it a windows domain? Or local users?
0
 

Author Comment

by:cgeorgeisaac
ID: 41897484
How do I do that?
Some of the services on the servers are given below:
 CacheProd (SLES 11)
SpiderSilk Web Server/Application  (Windows 8 Std)
Domain Controller (Netware 5/6)
Financial Inv Serverr (Windows 2012 R2)
Linux Cluster - File & Print (SLES 11)
VMware Management   (Windows 2008 R2)
Open Enterprise Virtual Volumes
Case Tracking/ID Cards (Windows)
ZEN Server (SLES)
Fax Server  (Windows)
0
 
LVL 54

Expert Comment

by:McKnife
ID: 41897531
"Domain Controller (Netware 5/6)" - your domain controller is not windows?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cgeorgeisaac
ID: 41899309
I had just listed some of the services we have on our environment.  It is a mutli-platform environment.
We do not have  Windows Domain.  We have  Novell.

I just wanted to know a simple way to change the Admin  passwords on:  Windows and  Linux  systems.  - Thats all.
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 41899373
Ok, understood.
If you have many servers, I assume, for better management, you have setup the same admin password on all machines and you want to change that one on all servers to the same new password?

Then I'd use psexec, download it from here: https://technet.microsoft.com/en-us/sysinternals/pstools.aspx
Logon to one server with that common administrator, open a command line and launch
for /f %a in (c:\temp\servers.txt) do psexec \\%a net user administrator newpass

Open in new window

Note: c:\temp\servers.txt is a list with servernames like this:
server1
server2
someserver
...

Open in new window

0
 

Author Comment

by:cgeorgeisaac
ID: 41899560
Great the SysInternals is helpful for Windows (we cannot have the same password on 2 systems - each system will have a different password).

However any suggestion for  Linux systems?
0
 
LVL 54

Expert Comment

by:McKnife
ID: 41899583
No, not my specialty, sorry.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question