Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 14:54:01 -0400
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   tty ownership for auto login sessions?
Message-ID:  <20020726185401.GA11297@teddy.fas.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726185401.GA11297>