10 More Discussions You Might Find Interesting
Can any one please tell what are the risks of having more than one users having UID 0 (root)?
Naveed (9 Replies)
Discussion started by: naveedaix
2. Shell Programming and Scripting
is tty command opens a process in the system if yes then why process got the userid????? (5 Replies)
Discussion started by: Mac91
3. Shell Programming and Scripting
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?
#... (3 Replies)
Discussion started by: livewire06
4. Shell Programming and Scripting
I'd like to ask your advice on the following, I've written this script to terminate a given process by name:
echo 'Please enter the process you wish to terminate'
kill -9 $pid
to make it safer I want it to reject the... (4 Replies)
Discussion started by: Lora Graham
5. UNIX for Advanced & Expert Users
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. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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
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.
Noori (4 Replies)
Discussion started by: noori
9. UNIX for Dummies Questions & Answers
Is it possible given a uid to determine information about the person with the uid? An example would be simple information regarding what group and the name of the person associated with that uid. It seems there is probably an easy staring me in the face but i cant seem to find it... (3 Replies)
Discussion started by: dreaming1
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!
#define DIM 8
int... (3 Replies)
Discussion started by: a25khan