The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-08-2008
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
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
  #2 (permalink)  
Old 05-08-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
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.
  #3 (permalink)  
Old 05-11-2008
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
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 ).
  #4 (permalink)  
Old 05-12-2008
gnom gnom is offline
Registered User
  
 

Join Date: Feb 2008
Location: New Zealand
Posts: 66
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0