LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   login time (https://www.linuxquestions.org/questions/linux-software-2/login-time-341958/)

mohit_garg 07-10-2005 05:07 PM

login time
 
i want to know hhich script is run at login time, the time i hit enter.
and which file and process is responsible for providing that login screen.
All at INIT level 3.

Tinkster 07-10-2005 06:02 PM

Re: login time
 
Quote:

Originally posted by mohit_garg
i want to know hhich script is run at login time, the time i hit enter.
and which file and process is responsible for providing that login screen.
All at INIT level 3.

I'm not quite sure I understand your question?

Commonly there's no script for that, it's an executable
by the name of agetty, listening on the ttys you've set-up
for that purpose in /etc/inittab

Code:

# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux


Cheers,
Tink

[edit]
P.S.: The thread title is very poorly chosen, something like:
Which program/script presents the login: on runlevel 3
would have been great, almost no need to write an
explanation after that ;)
[/edit]

mohit_garg 07-11-2005 11:25 AM

thanx


All times are GMT -5. The time now is 08:02 PM.