home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6495 < prev    next >
Encoding:
Text File  |  1992-08-26  |  2.0 KB  |  50 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!news!hrt
  3. From: hrt@utne.aosg.gsf.dec.com (Henry R. Tumblin AOSG)
  4. Subject: Re: Service Accounts running X login
  5. Message-ID: <1992Aug26.124449.3475@aosg.gsf.dec.com>
  6. Sender: usenet@aosg.gsf.dec.com (USENET News System)
  7. Nntp-Posting-Host: utne.aosg.gsf.dec.com
  8. Reply-To: hrt@aosg.gsf.dec.com
  9. Organization: AOSG
  10. References:  <1992Aug25.152709.23868@rz.uni-karlsruhe.de>
  11. Date: Wed, 26 Aug 1992 12:44:49 GMT
  12. Lines: 36
  13.  
  14. > On all our machines there's a passwordless service account allowing
  15. > every user to shutdown the machine from the console.
  16.  
  17. > When we got an Ultrix machine I installed such an account.
  18. > The problem: with an X window login on the console people can
  19. > login into this account without any restrictions.
  20.  
  21. > Are there any possibilities to control the actions of some special accounts
  22. > after the X window login ?
  23.  
  24. You can modify the .profile or .cshrc to be a "captive" account so that all
  25. that you can do is perform a shutdown or exit. Part of the problem with
  26. Ultrix is that it doesn't use the MIT style of startup, which invoke xdm which
  27. uses scripts to control the environment. What you can do to work around this
  28. is to specify a script instead of the session manager in the /etc/ttys file.
  29. Look at the man page for dxsession and it'll show you how to specify this. Then
  30. what you can do in the script is to detect the special account and do the 
  31. right thing, otherwise you exec dxsession and everything works as normal.
  32.  
  33. > Btw, is it possible for an user logged into the console in character mode
  34. > to start an X window enviroment ? Someting like startx ?
  35.  
  36. Sure by having them start xdm which should do the right thing. You may need
  37. to set the sticky bit on xdm if you want non-priviledged users to start xdm
  38. since it normally gets started by root. You may have to fiddle with this.
  39.  
  40. The good news is that we've gone to the MIT style of startup in OSF/1-Alpha and
  41. this type of customization becomes much easier to do.
  42.  
  43. /Henry
  44.  
  45. --
  46. Henry R. Tumblin                        Alpha Open Systems Group
  47.  
  48.  
  49.  
  50.