home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6494 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.5 KB  |  42 lines

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