From: dvlmal@cs.umu.se (Mats Arvendal) Subject: PROBLEM: "setpgid:Warning: no access to tty (Operation not permitted)" Date: 30 Mar 1993 19:01:27 GMT
I'm having some problem with VC # 1. When I log on I get this
message:
" setpgid:Warning: no access to tty (Operation not permitted).
Thus no job control in this shell."
What does this mean? And how can I get rid of it? I don't have any
problems with tty2-8.
I have:
0.99.7
getty 2.0.6b
sysvinit (see below)
I would appreciate if someone could help me with this.
/Mats
===========================
ls -l /dev/tty?:
crw--w--w- 1 root root 4, 0 Mar 30 20:40 /dev/tty0
crw--w--w- 1 mal users 4, 1 Mar 30 20:39 /dev/tty1
crw--w--w- 1 root root 4, 2 Mar 30 20:21 /dev/tty2
crw--w--w- 1 mal users 4, 3 Mar 30 20:40 /dev/tty3
crw--w--w- 1 root root 4, 4 Mar 30 19:23 /dev/tty4
crw--w--w- 1 root root 4, 5 Mar 30 19:23 /dev/tty5
crw--w--w- 1 root root 4, 6 Mar 30 19:23 /dev/tty6
crw--w--w- 1 root root 4, 7 Mar 30 20:40 /dev/tty7
crw-rw-rw- 1 root root 4, 8 Mar 21 03:26 /dev/tty8
===========================
/etc/inittab:
# A sample of the new, SYSV compatible inittab.
#
# (This one runs on my machine every day)
#
# Level to run in. Set to 5 or 6 to allow serial port logins.
# If you comment this out, the system will ask you for a runlevel
# when it is booted.
#
id:6:initdefault:
#
# Sysinit: takes place only once, right after system boot, *before*
# possibly going single-user.
#
si::sysinit:/etc/update &
#
# boot & bootwait take place once too, but *after* possibly going
# single user.
#
rc::bootwait:/etc/rc
#
# Run the cron deamon.
#
#cr::boot:/usr/bin/cron
#
# Normal levels: 1-4 = virtual consoles 5,6 = COM ports.
# Ofcourse you can change this to suit your taste.
#
# BEWARE: where is your getty? in /bin or in /etc?
#
1:123456:respawn:/etc/getty tty1 9600
2:23456:respawn:/etc/getty tty2 9600
3:3456:respawn:/etc/getty tty3 9600
4:456:respawn:/etc/getty tty4 9600
5:456:respawn:/etc/getty tty5 9600
6:456:respawn:/etc/getty.old 9600 tty6
7:456:respawn:/etc/getty tty7 9600
# 8 is used in rc.local
S1:156:respawn:/etc/uugetty ttyS1 19200
#
# The powerfail routines, that take care of a graceful shutdown.
# In our case, CTRL-ALT-DEL was pressed.
#
pf::powerwait:/etc/shutdown -rf now > /dev/console < /dev/console 2>&1
--