The UNIX and Linux Forums  

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 -->
  #1 (permalink)  
Old 01-23-2008
varungupta varungupta is offline
Registered User
  
 

Join Date: Feb 2007
Location: Pune, Dehradun (INDIA), Michigan(US)
Posts: 206
Exclamation su ?? Who logged in First ??

Hi all,

Say my login user id is "t007" and I login into the unix server first using my id and password and then I used to use "su" command to switch the user using root user id and password. Now, how the third person will come to know who has logged in as a first user ?


As:

Login: t007
password: abcd

$ su - mqsiadm
password : qwert123

$$ [now I am as user "mqsiadm"]
$$ [How the third person will come to know who logged in first ? (i.e. t007)]

Now if I'll exit, I'll first comeout as a "mqsiadm" and then i'll be as "t007".

Please give me the solution to this !!

Thanks in advance !!