The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
active working battaglia UNIX for Dummies Questions & Answers 5 4 Weeks Ago 03:31 AM
Switching the active pts? tspicher UNIX for Dummies Questions & Answers 4 06-25-2007 04:52 PM
How to get active connections in Unix jatin.jain Shell Programming and Scripting 3 05-26-2007 06:04 AM
active machine Raom UNIX for Advanced & Expert Users 0 10-20-2005 10:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-08-2008
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Active / Non Active users ?

Hey,

I have few Questions :

1. How to Check/Find who all are the users accessing the server using their id ?

2. How to Check who is the active user or non active user (whose id exists but the access privileges has been removed) ?

I am presently using AIX5.3 as a server.
Please suggest the needful.

Thanks a lot in advance.
Varun Gupta
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-08-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,069
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
For the first question : use who or finger and you'll see who's logged. For the second - how is the access policy organized - controlled by which application or audit control in your case ? We can't be aware of the policy your organization is using or have applied on your servers.
Reply With Quote
  #3 (permalink)  
Old 05-11-2008
Registered User
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 187
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by sysgate View Post
For the first question : use who or finger and you'll see who's logged. For the second - how is the access policy organized - controlled by which application or audit control in your case ? We can't be aware of the policy your organization is using or have applied on your servers.
Hey,

Thanks for the reply.
I wanted to know who all has the access to the server to login as a user.
List of users who has logged in ever to the server, how to get the list of those ?
I knew how to check all the current logged in users ( as you said : finger , who ).
Reply With Quote
  #4 (permalink)  
Old 05-11-2008
Registered User
 

Join Date: Feb 2008
Location: New Zealand
Posts: 41
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Who all has access to the server you can controll with the /etc/passwd and the /etc/shadow together.

Just take all the user from /etc/passwd and look in the shadow which one is expired or locked and you have your list.

cheers
gnom
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:42 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102