Solved

Changing Passwords for  Windows and Linux servers  in bulk

Posted on 2016-11-21
7
27 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
  • 4
  • 3
7 Comments
 
LVL 53

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 53

Expert Comment

by:McKnife
ID: 41897531
"Domain Controller (Netware 5/6)" - your domain controller is not windows?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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 53

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 53

Expert Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now