UID not to be reused


 
Thread Tools Search this Thread
Operating Systems AIX UID not to be reused
# 1  
Old 01-17-2006
UID not to be reused

Hello
I want to find out how I can make sure in AIX that the UIDs cannot be reused Until after 6 Months after the user has left.

Thanks,
Noori
# 2  
Old 01-19-2006
Quote:
Originally Posted by noori
Hello
I want to find out how I can make sure in AIX that the UIDs cannot be reused Until after 6 Months after the user has left.

Thanks,
Noori

Disable the account for six months and then delete it.
# 3  
Old 01-20-2006
Noori

Thanks a lot Dogwood.but I think I did not explain the problem clearly here I go again...
The comanay wants the user to be deleted with in a week of the user leaving the organization.

For example I have a user named test1 with id 202 - now he has left the organization and I have deleted the id 202.How can I make sure that after a month nobody else creates another user with an Id 202.This is my actual question.
# 4  
Old 01-20-2006
Quote:
Originally Posted by noori
Thanks a lot Dogwood.but I think I did not explain the problem clearly here I go again...
The comanay wants the user to be deleted with in a week of the user leaving the organization.

For example I have a user named test1 with id 202 - now he has left the organization and I have deleted the id 202.How can I make sure that after a month nobody else creates another user with an Id 202.This is my actual question.
I don't know of another way. You could create a dummy user to hold the UID in the /etc/passwd file but why not just leave the user in there in a disabled state. This works everywhere else. AIX will reuse that UID if it doesn't find it in the /etc/passwd file.
# 5  
Old 01-24-2006
Noori

Thanks Dogwood.
It is a requirement so I can't help it.I have to speak to the client and will convey the same.
I really appreciate your help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

UID Admin

Hi All, I have to give permission to one of the groups called as "ABC" as like the permissions of the group "UNIXADM". Could you please some one help on this issue ? (3 Replies)
Discussion started by: ramareddi16
3 Replies

2. AIX

Lost PIDs on AIX platform? (Bing reused eventhough they does not exist currently for any Component.

Dear ALL, I'm working on a Siebel CRM enterprise which is completely on AIX 5.3 platform. I'm trying to find some information, in case you may be able to help. Is there any command/procedure on AIX 5.3 by which I could check the blocked PIDs or lost PIDs for my Siebel Object Manager... (5 Replies)
Discussion started by: aarora_98
5 Replies

3. AIX

More than 1 UID 0

Hi, Can any one please tell what are the risks of having more than one users having UID 0 (root)? Thanks Naveed (9 Replies)
Discussion started by: naveedaix
9 Replies

4. Shell Programming and Scripting

UId

is tty command opens a process in the system if yes then why process got the userid????? (5 Replies)
Discussion started by: Mac91
5 Replies

5. IP Networking

TCP port numbers reused

Hello all, I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer. and after 1 second the connection resets. As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies

6. Shell Programming and Scripting

uid script help

i need a script to process a password file and based on the UIDs in the password file, generate the new UID that is 1 greater than the highest uid. i have some script logic but i dont really understand it. any help? #!/usr/bin/perl ########################################## #... (3 Replies)
Discussion started by: livewire06
3 Replies

7. Programming

Random number is not reused

I need to generate and reuse a 5 digit random number every time my program is executed. But the following generates random numbers every time the function is called. #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <time.h> ... (12 Replies)
Discussion started by: limmer
12 Replies

8. Shell Programming and Scripting

checking uid

How do i go about getting the uid of the user and verify ? if then echo "You are not a superuser, please login as a superuser" exit1; fi the above code doesn't work. can some guru please help me. 1. how to get the uid of the user ? i know by typing id but how to... (7 Replies)
Discussion started by: filthymonk
7 Replies

9. AIX

UID Change

Currently, I have about 7 servers and the uid for a given person is different on each server. I want to make the uid's the same for a given username on each server. I know how to change the uid via smit, but when I do the previous uid number shows up as the owner for the files of that username.... (4 Replies)
Discussion started by: mcateriny
4 Replies

10. UNIX for Dummies Questions & Answers

UID problem

I'm teaching myself UNIX, so bear with me! :) I created two user accounts on my box. One day I shut down the system using "shutdown -h 1". The system shut down cleanly. A few days I rebooted the box, no problem. But root is the only account that can log in. The other 2 user accounts... (10 Replies)
Discussion started by: ChrisFoxx
10 Replies
Login or Register to Ask a Question