HP-UX
1753679 회원
5648 온라인
108799 솔루션
새 메시지

로그인 유형 및 프로세스에 대한 질문

 
박기태
조언자

로그인 유형 및 프로세스에 대한 질문

사용자가 telnet으로 login을 하게되면...

서버측에서는 inet --> telnetd --> login 순서로 프로세스가 생성되고

로그인은 login 프로세스가 처리를 하는걸로 알고 있습니다...



궁금한 점은... 모든 로그인 유형을 login 프로세스가 담당할 거 같지는 않아서...



그외에 어떤 login 프로세스가 있는지.. 어떤 로그인시에 어떤 로그인 프로세스가 처리를 하는지...



아시는 분의 답변 바랍니다...
1 응답 1
이연주
정기 조언자

로그인 유형 및 프로세스에 대한 질문

안녕하십니까...

대표적인 login유형 세가지 경우의 login process절차는 다음과 같습니다.



1.ASCII Login(Direct Connect)



init => /etc/inittab

|

getty => /etc/gettydefs

|

login => /etc/passwd

|

-sh => /etc/profile

=> $HOME/.profile

=> $ENV



2.ASCII Login(Network)



init => /etc/inittab

|

rc => /sbin/rc#.d/S###script

|

inetd => /etc/inetd.conf

=> /etc/services

|

telnetd => /dev/telnetm

=> /dev/pts/t#

|

login => /etc/passwd

|

-sh => /etc/profile

=> $HOME/.profile

=> $ENV



3.GUI Login(CDE Session)



init => /etc/inittab

|

rc => /sbin/rc#.d/S###script

|

dtlogin.rc => /etc/rc.config.d/cde

|

dtgreet => /tmp

=> /etc/passwd

|

dtwm => /etc/hosts

|

dtterm => /etc/pts/#

|

-sh => /etc/profile

=> $HOME/.dtprofile

=> $HOME/.profile(option)

=> $ENV