The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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
please help immediately infyanurag Linux 4 11-02-2007 10:06 AM
I need help immediately. Please help me Sheethal UNIX for Dummies Questions & Answers 4 07-26-2007 06:11 AM
Valid ranges for uids for HP-UX naren_chella HP-UX 7 06-25-2006 10:22 PM
about UIDs, very urgent mehdi UNIX for Dummies Questions & Answers 1 09-06-2005 07:53 PM
.cshrc and .login overwritten !! gjthomas UNIX for Advanced & Expert Users 5 06-08-2004 04:11 PM

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

Join Date: May 2007
Posts: 1
UIDs being overwritten immediately

We have a problem where we delete a user and their associated UID gets dumped back in the UID pool. The if we immediately create a another (new) user, AIX reuses the last UID, the one that was just released. This is causing a problem when reports are being generated because the new users name is now associate with ALL previous transactions linked to that UID.

Is there a way to tell AIX to NOT use the last released UID?

So to speak: currently its "Last release, First use" and we need "Last release, last use".

We are running AIX 4.3.3
  #2 (permalink)  
Old 05-07-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Don't delete the user until you don't care if the uid is reused or not. Just lock the account and delete the files.
  #3 (permalink)  
Old 05-08-2007
kapilraj kapilraj is offline
Registered User
  
 

Join Date: Dec 2006
Location: Maryland
Posts: 162
mkuser command can accept "id=<number>" . So you could find out what is the next uniq number and give it there while creating the user.

i.e.
mkuser "id=1002" kapilraj
Sponsored Links
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:59 AM.


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