Unix doubts

Hi All,

  1. how and who calls .profile when you login
  2. what is PPID and what means by PPID = 0

Thanks in Advance

PPID Parent Process Identification

I am not 100% sure but I think that the .profile is called after the
/etc/shadow is called

After you login, .profile is read. That's just the default behavior.

PPID refers to the parent process ID. Processes with a PPID of 0 belong to the kernel.