
Kernel manage this user logging process by running below programs
- getty
- loging
[getty is short for “get terminal”.]
- Kernel calls program ‘init’. ‘init’ calls program ‘getty’, which issues a login prompt in the monitor.
- User enters login and password.‘getty’ calls program ‘login’ which scans file /etc/passwd to match username and password.
- After validation, control passes to session startup program /bin/sh .User gets a shell prompt.
- If the user fails to provide valid password, the login program returns the control back to the getty program.
No comments:
Post a Comment