Date: Sun, 30 Apr 2000 10:16:41 +0200 From: Markus Holmberg <markush@acc.umu.se> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /etc/fbtab login device matching Message-ID: <20000430101640.A896@mao.acc.umu.se> In-Reply-To: <20000429164518.A30184@cc942873-a.ewndsr1.nj.home.com>; from cjc@cc942873-a.ewndsr1.nj.home.com on Sat, Apr 29, 2000 at 04:45:18PM -0400 References: <20000429171114.A23133@mao.acc.umu.se> <20000429164518.A30184@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2000 at 04:45:18PM -0400, Crist J. Clark wrote: > > I want to change the ownership of /dev/console to the user that logs in > > (which sounds reasonable, right?) > [snip] > > Well, what happens when more than one user is logged in to the > machine? For example, I frequently will log into a machine as a > "mortal" user first on ttyv0. If at some point I need root privs, I go > to the next ttyv and log in there as root rather than su. Who should > own the console? You are setting yourself up for a reverse-race > condition (the last person wins ;) over console ownership. That's true :(. The main reason for using fbtab is to be able to grab the console (with xconsole) when running as a normal user. su:ing and running xconsole each time I start X is not an option :/. Would "chmod o+r /dev/console" be an option? I'm not sure what security implications this might have. Anyone could read the console log messages.. But for what use? Markus -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ 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?20000430101640.A896>