A way to capture the user list

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 07-26-2015
A way to capture the user list

Can someone please help me with a way to generate a user list on a system along with the group to which the id belongs?
# 4  
Old 07-27-2015
What exactly do you need that goes beyond a cat /etc/passwd?
# 5  
Old 07-27-2015
What operating system is your server running?

What operating system is your client running?
# 6  
Old 07-27-2015
I am trying to get this list from an AIX server.

---------- Post updated at 02:48 AM ---------- Previous update was at 02:48 AM ----------

Is there a way to generate a list with 2 columns - the first one being the user id, and the 2nd one being the group
# 7  
Old 07-27-2015
Code:
awk -F: '{print $3, $4}' /etc/passwd

Do you want the user id or the user name?
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Active User List Script varun aravinth Shell Programming and Scripting 2 02-06-2017 08:00 AM
How capture all user command line output? amvhd HP-UX 6 03-09-2014 06:27 AM
List of process of user asak Shell Programming and Scripting 3 11-08-2012 09:24 AM
How to get User list from different groups and root? kpatel97 UNIX for Advanced & Expert Users 1 07-10-2012 09:56 PM
Solaris command to list user Grueben Solaris 2 01-06-2012 08:34 AM
Capture the original user dr46014 Shell Programming and Scripting 4 09-13-2011 01:09 AM
Write a scripts to kill idle user for 60 min. & email user list to admin in text file sumit30 Shell Programming and Scripting 4 04-02-2011 10:05 PM
How to get list of user into an array.. solo123 Shell Programming and Scripting 2 09-09-2010 04:46 AM
IF $USER is not in this list of users, then do this glev2005 Shell Programming and Scripting 5 10-15-2009 03:34 AM
How to process the user id list in /etc/group? april Shell Programming and Scripting 4 02-13-2008 12:48 PM
Capture of all commands issued by the user “root” elieifrah@gmail UNIX for Advanced & Expert Users 4 03-19-2007 10:55 AM
Online user list script Necrologist Shell Programming and Scripting 4 09-10-2006 04:37 AM
Capture user imput commands s_saran Shell Programming and Scripting 1 03-21-2006 03:21 PM
list of default umask by user Zlikos AIX 3 09-29-2005 08:15 AM
user list whatisthis UNIX for Advanced & Expert Users 3 12-02-2004 05:41 PM