Solved

Changing Passwords for  Windows and Linux servers  in bulk

Posted on 2016-11-21
7
61 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

25 Experts available now in Live!

Get 1:1 Help Now