Subject: Re: No controlling tty (open /dev/tty: Permission denied)
To: Ganimede <newtoolbox@yahoo.com>
From: Greg A. Woods <woods@planix.com>
List: port-sparc
Date: 03/04/2007 14:07:24
At Sun, 4 Mar 2007 04:56:35 -0800 (PST),
Ganimede wrote:
> 
> Each time that I login as standard user (with root all
> it's ok) I see this error message:
> 
> 
> NetBSD 3.1 (SPARCclassic) #0: Mon Feb 26 09:24:40 CET 2007
> 
> Welcome to NetBSD!
> 
> ksh: No controlling tty (open /dev/tty: Permission denied)
> ksh: warning: won't have full job control
> $

Well what are the permisisons on the device file "/dev/tty"?

They should be user+group+world readable and writable:

$ ls -l /dev/tty
crw-rw-rw-  1 root  wheel  1, 0 Mar  2 04:03 /dev/tty

-- 
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>