Common UID's and PID's


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Common UID's and PID's
# 1  
Old 03-10-2012
Common UID's and PID's

Hey Folks,

I'm a newbie to Unix. Sorry if this doubt sounds very silly. I know that first 100 UID's are used by system accounts and the rest, for normal users. It'd be great if someone could guide me to a link where i can browse through the list of 100 system managed accounts with their UID's. Also, if there is any, a list of most common processes running on a UNIX system with their PID's.

By the way, i use Solaris 10 if that really matters.

Thanks.
Prithvi.
# 2  
Old 03-10-2012
The reserved UID numbers vary from one UNIX/Linux system to another.

Here's a list of system users with their UIDs on Solaris:
Code:
root:0
daemon:1
bin:2
sys:3
adm:4
lp:71
uucp:5
nuucp:9
dladm:15
netadm:16
netcfg:17
smmsp:25
gdm:50
zfssnap:51
upnp:52
xvm:60
mysql:70
openldap:75
webservd:80
postgres:90
svctag:95
unknown:96
nobody:60001
noaccess:60002
nobody4:65534
ftp:21
dhcpserv:18
aiuser:60003
pkg5srv:97

To get a list of processes running with any of these UIDs, try something like this:
Code:
ps -elf | grep daemon

This User Gave Thanks to admin_xor For This Post:
# 3  
Old 03-11-2012
Thank you so much! Smilie
 
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. Solaris

Changing uid value

Hi, I want to change user id gefadm ,uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage), how can i change this uid ,gid one value to another value. Please provide the steps how can i change , uid=0(root) gid=0(root) to uid=16649(isaadmin) gid=16284(dstage). Thanks in advance for... (2 Replies)
Discussion started by: sridhardwh
2 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. UNIX for Dummies Questions & Answers

Duplicated UID

Hi folks! I need you help to discover what's the impact of a duplicated UID in an operating system. What's the meaning when someone put in different users the same UID? (3 Replies)
Discussion started by: phcostabh
3 Replies

5. 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

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. UNIX for Advanced & Expert Users

delete all PID that running by UID ??

Hi experts, How can I delete the process running by particular UID. For an example- I want to delete all PID that running by UID- purple UID PID PPID C STIME TTY TIME CMD purple 120 122 0 Jan 17 ? 0:02 sched purple 234 235 0 Jan 17 ?... (6 Replies)
Discussion started by: thepurple
6 Replies

8. UNIX for Dummies Questions & Answers

Need to get pid of a process and have to store the pid in a variable

Hi, I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this. Thanks in advance, Amudha (7 Replies)
Discussion started by: samudha
7 Replies

9. UNIX for Dummies Questions & Answers

Session PID & socket connection pid

1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection? 2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies

10. Programming

printing ppid,child pid,pid

question: for the below program i just printed the value for pid, child pid and parent pid why does it give me 6 values? i assume ppid is 28086 but can't figure out why there are 5 values printed instead of just two! can someone comment on that! #include<stdio.h> #define DIM 8 int... (3 Replies)
Discussion started by: a25khan
3 Replies
Login or Register to Ask a Question