Finding a specific UID on a site with hundreads of users.


 
Thread Tools Search this Thread
Operating Systems AIX Finding a specific UID on a site with hundreads of users.
# 1  
Old 03-03-2008
Finding a specific UID on a site with hundreads of users.

Hello,

I am not the AIX guru..
This might seem simple for a lot but I am not sure where to start.. So here is my question:
I have a unix account on a remote site. My UID is 999999.

Now I need to create my account at my main site, with the same UID. So i have to make sure the UID 999999 is not used at my main site. How can I check that? Knowing that we have a few hundreds users on the main site?

Many Thanks.

M
# 2  
Old 03-03-2008
e.g:
vbe@ xoo3: /home/vbe# cut -d: -f3 /etc/passwd|grep 50253
50253
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Regarding thoughts for encourage more users to post/participate on UNIX.com site.

Hello All, Greetings!! Have a thought about how could we encourage more users to post and participate more on UNIX.com(because more we get questions, more we learn more), few are my ideas which I am posting feel free to add/edit more ideas in here. Keeping this as a POLL too. I- Allow... (10 Replies)
Discussion started by: RavinderSingh13
10 Replies

2. Homework & Coursework Questions

Display info about users (UID GID processes terminal)

I would like to get an opinion for my solution for this task and get feedback about better approach or mistakes I have made. 1. The problem statement, all variables and given/known data: The task is to create a script which prints information about users whose names are specified in the... (2 Replies)
Discussion started by: kornfan
2 Replies

3. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

4. Cybersecurity

How to diff between 2 users with uid 0?

Hello, I created a new user "rootNew" After creation I manually change the file /etc/passwd and gave the new user "rootNew" uid 0. Now I have 2 users with uid 0 (root,rootNew) how can I know which user is log in the system? "whoami" command return "root" for both users. Thanks, Uri (10 Replies)
Discussion started by: urip
10 Replies

5. UNIX for Advanced & Expert Users

How to diff between 2 users with uid 0?

Hello, I created a new user "rootNew" After creation I manually change the file /etc/passwd and gave the new user "rootNew" uid 0. Now I have 2 users with uid 0 (root,rootNew) how can I know which user is log in the system? "whoami" command return "root" for both users. Thanks, Uri No... (0 Replies)
Discussion started by: urip
0 Replies

6. Ubuntu

how to mount specific drive for specific users in ubuntu 11.04?

hi friends ... could u tell me how to mount specific drive (ntfs or fat 32) for specific users in ubuntu 11.04 ? ie ,if there is a user called staff (a desktop user ) ,then he should able to use staff drive only ? thanks in advance ...:) (1 Reply)
Discussion started by: kapali255
1 Replies

7. Solaris

Can we create multiple users with same UID?

* Can we create multiple users with same UID? * Can we give root permissions to normal user like admin.s ? If YES give me full details (syntax of sudo/RBAC) (14 Replies)
Discussion started by: Navkreddy
14 Replies

8. What is on Your Mind?

New Site/Info for Linux Users

Check out this site. This will be helpful for all. Link removed. (3 Replies)
Discussion started by: jadebellant
3 Replies
Login or Register to Ask a Question