From owner-freebsd-questions Wed Mar 22 5:12:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.can-host.com (www.can-host.com [24.215.1.6]) by hub.freebsd.org (Postfix) with ESMTP id 2C85B37B99A for ; Wed, 22 Mar 2000 05:12:40 -0800 (PST) (envelope-from admin@cyrebels.org) Received: from cyrebels.org (185-143.cgocable.ca [24.226.185.143] (may be forged)) by www.can-host.com (8.9.3/8.9.3) with ESMTP id IAA24839; Wed, 22 Mar 2000 08:13:41 -0500 Message-ID: <38D8C87D.9117D3C4@cyrebels.org> Date: Wed, 22 Mar 2000 08:19:57 -0500 From: Dee Cee X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Jon ." Cc: questions@freebsd.org Subject: Re: running X apps as root... References: <20000322055209.88631.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! yes, i knew about the SUID prog. but i would have to open an xterm, su to root, then run the md, right? now, i dont want to keep an xterm on my deskptop, its already overloaded, heh would it be possible to run x windows prog as root using another way? thaks again! "Jon ." wrote: > >Hey > > > >Im running windowmaker as my window m. just so you know... > >and i want to run programs in X under 'root'.. note that im not running > >X from the root acct (duh!...) > > ok......just set any progs you want to run as root with the SUID bit on > (make sure that they are owned by root as well, otherwise you'll just have > the permissions of whoever the file owner is) > > >thanks! > > > >oh and btw, would it be unsecure or immoral or anything to run xwindows > >s root...? > > yes, it's extremely insecure. i never SUID progs unless i have to, such as > in a case of a PPP dialer i have. if someone was ever to exploit a flaw in > any of the programs which you sui'd, they'd be dropped into a shell with > root permissions....not a nice thing. but, if it's just for home, and not > on a LAN, you don't have much to worry about...just don't make a practice > out of it. and be aware that some progs (ok, only 1 that i know of, and > only under linux, don't know for sure about freebsd) won't run properly as > root.....take the example of > xscreensaver. > > >thx! > >dc > > jon > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message