Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 1995 19:39:11 -0400 (EDT)
From:      John Capo <jc@irbs.com>
To:        rpt@miles.sso.loral.com
Cc:        freebsd-hackers@freefall.cdrom.com (freebsd-hackers)
Subject:   Re: /dev/console & xconsole
Message-ID:  <199508062339.TAA13402@irbs.irbs.com>
In-Reply-To: <199508062303.AA21733@physics.su.oz.au> from "David Dawes" at Aug 7, 95 09:03:21 am

next in thread | previous in thread | raw e-mail | index | archive | help
David Dawes writes:
> 
> >Is there some magic I need to work to get xconsole to be able
> >to open the console from my .xinitrc in 2.05? Did some characteristic of 
> >/dev/console change?
> >
> >It works if started manually after an 'su'. Current permissions are:
> >
> ></dev># ll /usr/X11R6/bin/xconsole
> >-rwsr-xr-x  1 root  bin  16384 May  8 20:00 /usr/X11R6/bin/xconsole
> ></dev># ll /dev/console
> >crw-rw-rw-  1 root  wheel    0,   0 Aug  6 11:53 /dev/console
> 
> I don't know the answer to your problem, but having xconsole setuid-root
> is a mistake security-wise.
> 
> David
> 

/dev/console needs to be owned by the user running xconsole.  It works
after you su due to /dev/console being owned by root.  If you run xdm,
the console is chown'ed to the user logging in.

John Capo
IRBS Engineering



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