Linux OS : Boot Process(BIOS, MBR, GRUB,Karnel, Init, Runlevel)
What happens during Linux boot process ?
Read here:https://www.thegeekstuff.com/2011/02/linux-boot-process
What happens during the Login by Non-privileged user post reboot?
- Init process (pid=1, uid =0 ) spwans the Login process (pid-x,uid=0)
- Fork() system call
- Exec system call
- Login Process
- Fork() System Call
- setuid for the User (pid x, uid=0)
- Exec System call
- Shell
- Uid >0, PID x
- Execute ~/.bashrc ; exports all the enviornment variables etc/
Comments