Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 08:19:57 -0500
From:      Dee Cee <admin@cyrebels.org>
To:        "Jon ." <los_alamos@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: running X apps as root...
Message-ID:  <38D8C87D.9117D3C4@cyrebels.org>
References:  <20000322055209.88631.qmail@hotmail.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D8C87D.9117D3C4>