The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
limiting failed logins to three csaunders HP-UX 1 10-18-2007 06:56 AM
Logins-logouts aekaramg20 Shell Programming and Scripting 1 07-22-2006 04:38 AM
Logging out all logins. No one can answer this. brady9953 UNIX for Advanced & Expert Users 2 01-19-2004 08:33 AM
NVT logins pappous UNIX for Dummies Questions & Answers 2 03-15-2001 07:26 PM
Help with logins crispyco UNIX for Dummies Questions & Answers 2 01-22-2001 08:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2006
Registered User
 

Join Date: May 2006
Posts: 5
Stumble this Post!
Limit logins to 1 (RESOLVED)

Trying to limit 1 login per account...

Setup:

We have 2 auth logins, one to the AIX (telnet)then into a distribution mgmt software, the users do not have a shell to log into on the AIX itself, so placing a script such as:

active=`who | awk '{printf",%s,\n",$1}' | grep ,$LOGNAME, | wc -l`

into the .profile wont work, as there is no home directory and no shell execution...

How else can I accomplish this so that the users are limted to 1 login per account...

Added script into /etc/profile rather than homedir profilkes and it worked...

Thanks all...

Last edited by pheusion; 08-11-2006 at 09:09 AM.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:52 AM.


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 Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0