home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!joef
- From: joef@extro.ucc.su.OZ.AU ()
- Subject: Re: Problems with X as non-root
- Message-ID: <joef.711870086@extro.ucc.su.OZ.AU>
- Keywords: X tty
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: Sydney University Computing Service, Sydney, NSW, Australia
- References: <1992Jul21.234613.4757@cs.tulane.edu> <1992Jul22.150309.18573@crd.ge.com>
- Date: Thu, 23 Jul 1992 05:41:26 GMT
- Lines: 28
-
- davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
- >In article <1992Jul21.234613.4757@cs.tulane.edu>, butler@cs.tulane.edu (Larry Butler) writes:
- >| problem. When I run X as a non-root user I get the message:
- >|
- >| Can't open '/dev/tty0'
- >|
- >| As far as I know, I followed all the instructions that said make sure you
- >| do <this> if you want to be able to run X as a regular user. Any help
- >| would be greatly appreciated.
- > I didn't even see the instructions, and I get a slightly different
- >message, but I have the same problem. Since I have more pressing
- >problems I didn't worry about it, but it's a really odd choice of
-
- As a stab in the dark, try this [as root]
- # chmod 4755 /usr/bin/X11/xterm
- #
-
- That will setuid to root xterm.
- Unfortunatly, it DOES leave some security holes open, and if you ever
- intend to have more than yourself use the machine, and you are worried about
- someone getting root privs who isn't meant to, just run it as root, and
- leave it un-suid.
-
- Joe
-
- ---
- joef@extro.ucc.su.oz.au
-
-