Re: confusing processes

2005-11-23 Thread Rafal Czlonka
 Hi,
 I was wondering where all these processes /sbin/getty ... came from since I 
 did not start them

Do you want virtual terminals or not? ;-)

-- 
Rafal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: confusing processes

2005-11-23 Thread Steve Block

On Wed, Nov 23, 2005 at 02:28:06PM -0500, Amish Rughoonundon wrote:

Hi,
I was wondering where all these processes /sbin/getty ... came from since I 
did not start them

. Anybody could enlighten me. Thanks
Amish
ps g
 PID TTY  STAT   TIME COMMAND
1346 tty1 Ss+0:00 /sbin/getty 38400 tty1
1347 tty2 Ss+0:00 /sbin/getty 38400 tty2
1348 tty3 Ss+0:00 /sbin/getty 38400 tty3
1349 tty4 Ss+0:00 /sbin/getty 38400 tty4
1350 tty5 Ss+0:00 /sbin/getty 38400 tty5
1351 tty6 Ss+0:00 /sbin/getty 38400 tty6
16852 pts/0Ss 0:00 -bash
16889 pts/0T  0:00 emacs proftpd.conf
16921 pts/0R+ 0:00 ps g


The getty processes wait for you to login on the virtual terminals 
(tty1 through tty6) that you can access with alt+f(1-6) or 
ctrl+alt+f(1-6) from X. If you don't use virtual terminals you can turn 
some or all of them off by editing /etc/inittab. Look for lines like

1:2345:respawn:/sbin/getty 38400 tty1
and comment out ttys you don't use.

--
Steve Block
http://ev-15.com/
http://steveblock.com/
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: confusing processes

2005-11-23 Thread Björn Lindström
Amish Rughoonundon [EMAIL PROTECTED] writes:

 I was wondering where all these processes /sbin/getty ... came from since I 
 did not start them
 . Anybody could enlighten me. Thanks
 Amish
 ps g
  PID TTY  STAT   TIME COMMAND
 1346 tty1 Ss+0:00 /sbin/getty 38400 tty1
 1347 tty2 Ss+0:00 /sbin/getty 38400 tty2
 1348 tty3 Ss+0:00 /sbin/getty 38400 tty3
 1349 tty4 Ss+0:00 /sbin/getty 38400 tty4
 1350 tty5 Ss+0:00 /sbin/getty 38400 tty5
 1351 tty6 Ss+0:00 /sbin/getty 38400 tty6
 16852 pts/0Ss 0:00 -bash
 16889 pts/0T  0:00 emacs proftpd.conf
 16921 pts/0R+ 0:00 ps g

getty opens a tty port, prompts for a login name and invokes the
/bin/login command. It is normally invoked by init(8).

As you can see, there's one for each of your virtual consoles.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]