From owner-freebsd-questions Fri Jul 26 11:48: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE97C37B406 for ; Fri, 26 Jul 2002 11:47:58 -0700 (PDT) Received: from sumter.awod.com (sumter.awod.com [208.140.99.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4A7743E42 for ; Fri, 26 Jul 2002 11:47:52 -0700 (PDT) (envelope-from stanb@awod.com) Received: from teddy.fas.com (pcp01010372pcs.mplsnt01.sc.comcast.net [68.58.176.67]) by sumter.awod.com (8.8.7/8.12.2) with ESMTP id OAA17110 for ; Fri, 26 Jul 2002 14:47:41 -0400 (EDT) (envelope-from stanb@awod.com) X-Authentication-Warning: sumter.awod.com: User stanb [pcp01010372pcs.mplsnt01.sc.comcast.net] popped 78 seconds ago Received: from stan by teddy.fas.com with local (Exim 3.35 #1 (Debian)) id 17YADx-0002xn-00 for ; Fri, 26 Jul 2002 14:54:01 -0400 Date: Fri, 26 Jul 2002 14:54:01 -0400 From: stan To: Free BSD Questions list Subject: tty ownership for auto login sessions? Message-ID: <20020726185401.GA11297@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.17 X-Uptime: 14:49:12 up 2 days, 18:24, 1 user, load average: 0.29, 0.25, 0.24 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've got some dedicated STABLE machiens that I have set up to auto login as a dedicated suer. This users .profile then runs a shell script that starts screen, runing another application (minicom in one case). In addition the startup script uses vdicontrol to switch to the 4th virtual terminal (which is the autologin one). I've had to change the ownerships of /dev/tty3 on all of these machines to the special user to make this work. This seems wrong. If I change the /etc/ttys defs, so that this user does not sutologin, then when I manually log in as this suer all goes well, but on autologin I get a permsion failure, and getty imediatly respawns. It looks like I'm missing somethign ehre. Anyone have nay ideas? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message