LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-12-2019, 12:46 AM   #1
sujitb
LQ Newbie
 
Registered: Dec 2018
Posts: 8

Rep: Reputation: Disabled
Required local user details


Hi Team,

We are having 50+ Linux systems located in different locations.I am looking for local users for all systems. Do we have any tool to get this information.

Note: This systems are not in domain.

Thanks,
Sujit
 
Old 07-12-2019, 01:40 AM   #2
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,299

Rep: Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111Reputation: 1111
cat /etc/passwd?
 
Old 07-12-2019, 02:19 AM   #3
sujitb
LQ Newbie
 
Registered: Dec 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks for your response. But I am looking this information for more than 50 systems which will give info in single file..
 
Old 07-12-2019, 05:46 AM   #4
dc.901
Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS 6-7; SuSE 8-12
Posts: 533

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by sujitb View Post
Thanks for your response. But I am looking this information for more than 50 systems which will give info in single file..
You will have to look at passwd file on all 50 systems. How do you login to these systems now?
If you have key based authentication setup you can easily script this.
Do you have any automation tools puppet/ansible etc?
 
Old 07-12-2019, 06:33 AM   #5
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,953

Rep: Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267
Take some time and configure mpssh. I have used it to remotely run a command on 288 systems at once and collate the output into a single file. There are other tools that do parallel execution on multiple hosts that might work as well for you. Research is indicated.
 
Old 07-12-2019, 06:45 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,587

Rep: Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685Reputation: 5685
Quote:
Originally Posted by sujitb View Post
Hi Team,
We are having 50+ Linux systems located in different locations.I am looking for local users for all systems. Do we have any tool to get this information. Note: This systems are not in domain.
...and....
Quote:
Originally Posted by sujitb
Thanks for your response. But I am looking this information for more than 50 systems which will give info in single file..
We aren't on your 'team', and quite obviously they aren't in a domain, since that's a Windows concept. If you got the job of administering 50+ Linux systems, you must have SOME skills/knowledge about Linux, and how to perform such simple tasks. wpeckham named one common tool, but you tell us nothing about what else you may have available (as dc.901 asked about), nor what your goal is, how often you need to do this, etc.

Writing a simple bash script to do a keyswap to all 50+ systems shouldn't take very long, and after that, it should also be a simple script to look at/download the /etc/passwd files from those systems to a local system. What have you done/tried so far????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comprehensive Details on Linux kernel compile options required. s.verma Linux - General 4 03-19-2014 09:14 AM
tshark: want udp, bootp details only, not Frame, Ether, IP details chrism01 Linux - Server 1 09-11-2013 01:29 AM
C program source details required for scan the available wireless network kesavan.sr Linux - Networking 2 03-03-2011 04:42 AM
Details required v_venkatkumar Linux - Newbie 1 11-26-2008 01:51 AM
Mose Protocol Details Required ayusman Linux - Hardware 1 10-22-2007 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration