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 > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-24-2008
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
Talking

Quote:
Originally Posted by adderek View Post
I am not sure if I understand it correctly. If so, then:
1. You could try to trace what is your parent process and this way you could probably get this
2. Probably all the users will be assigned to the same console - try ps'ing with a full list and then checking what consoles are assigned to the user.
3. I am not sure about that but probably you could try to check if the real-uid and effective-uid are set to the given user IDs.
Hey,

Yup , thanks man, parent process id will work. I had an idea about that but when i tried it was not working. Now I got the solution. Just, I had to dig more.

Thanks anyways.