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
Solved

Changing Passwords for  Windows and Linux servers  in bulk

Posted on 2016-11-21
7
71 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 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

790 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