Script to identify current users on the system

Reply

Join Date: Apr 2009
Posts: 19
Reputation: ViLeNT is an unknown quantity at this point 
Solved Threads: 0
ViLeNT ViLeNT is offline Offline
Newbie Poster

Script to identify current users on the system

 
0
  #1
Jul 3rd, 2009
I'd like to write a script to identify current users on the sytem with an indication of the actions they are performing. I only want to identify the users. Can someone please help?
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 13
Reputation: fayola is an unknown quantity at this point 
Solved Threads: 0
fayola's Avatar
fayola fayola is offline Offline
Newbie Poster

Re: Script to identify current users on the system

 
0
  #2
Jul 3rd, 2009
need more info.... is this a windows system, unix, web app?
--
fayola
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 29
Reputation: ermithun is an unknown quantity at this point 
Solved Threads: 0
ermithun ermithun is offline Offline
Light Poster

Re: Script to identify current users on the system

 
0
  #3
Jul 6th, 2009
Originally Posted by ViLeNT View Post
I'd like to write a script to identify current users on the sytem with an indication of the actions they are performing. I only want to identify the users. Can someone please help?

The command 'who -ap' will list all the users currently logged in the system.

for more info on who, pls do type 'man who' on ur terminal.

now as per ur requirement, u can write a script mentioning the cmd inside and accordingly cut the output depending on ur requirement.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC