home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / sysadmin / 5080 < prev    next >
Encoding:
Text File  |  1992-09-08  |  3.5 KB  |  81 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet
  3. From: sears@tree.egr.uh.edu (Paul S. Sears)
  4. Subject: Re: changing login tiff --- where is it in 3.0 ?
  5. Message-ID: <1992Sep8.205020.11252@menudo.uh.edu>
  6. Sender: usenet@menudo.uh.edu (USENET News System)
  7. Nntp-Posting-Host: thanatos.egr.uh.edu
  8. Reply-To: sears@tree.egr.uh.edu
  9. Organization: University of Houston
  10. References: <1992Sep6.165513.11989@ni.umd.edu>
  11. Date: Tue, 8 Sep 1992 20:50:20 GMT
  12. Lines: 67
  13.  
  14. In article <1992Sep6.165513.11989@ni.umd.edu> louie@sayshell.umd.edu (Louis A.  
  15. Mamakos) writes:
  16. =>In article <1992Sep6.140740.1325@mwhhlaw.uucp> bob@mwhhlaw.com writes:
  17. =>>In article <1992Sep5.225655.21121@scott.skidmore.edu>  
  18. =>>tholland@pars.skidmore.edu (Anthony Holland) writes:
  19. =>>>....anybody know where the loging tiff has moved to?
  20. =>>
  21. =>>/usr/lib/NextStep/loginwindow.app/English.lproj/nextlogin.tiff
  22. =>>
  23. =>>But if you just want to change the hostname use
  24. =>>
  25. =>>dwrite loginwindow HostName
  26. =>
  27. =>Here's what I do; my defaults database for "root" contains:
  28. =>
  29. =>loginwindow HostName localhost
  30. =>loginwindow ImageFile /local/loginwindows/LOGIN.tiff
  31. =>
  32. =>"localhost" is special; the actual host name displayed is whatever
  33. =>the /bin/hostname program returns.  Thus, you don't need a different
  34. =>value for every machine.  Also, it is usually considered rude to
  35. =>modify the standard supplied files when you can just specify one of
  36. =>your own.  That's what I did for the loginwindow tiff image.
  37. =>
  38. =>louie
  39.  
  40. This is a good way to do it.  "localhost" is nice when you want to change the  
  41. name of your workstation.  You only need to change it in NetInfo instead of  
  42. everywhere you have hardcoded it.
  43.  
  44. What surprises me is that noone uses the /etc/ttys file.  No need to dwrite to  
  45. the defaults database (which gets hosed every so often...)
  46.  
  47. Here is our ttys file (we have our own customized login window image, MOTD  
  48. runs when anyone logs on, and the hostname is placed in the loginwindow  
  49. image):
  50.  
  51. #
  52. # name  getty                   type            status          comments
  53. #
  54. # If you do not want to start the window server by default, you can
  55. # uncomment the first entry and comment out the second.
  56. #
  57. # console       "/usr/etc/getty std.9600"       NeXT            on secure
  58. #console        "/usr/lib/NextStep/loginwindow -HostName localhost -ImageFile  
  59. /usr/lib/NextStep/cougarlogin.tiff -PowerOffDisabled true"        NeXT             
  60. on secure window=/usr/lib/NextStep/WindowServer onoption="/usr/etc/getty  
  61. std.9600"
  62. #
  63. console "/usr/lib/NextStep/loginwindow -HostName localhost -LoginHook  
  64. /LocalApps/MOTD -LogoutHook /usr/local/bin/LogoutHook -ImageFile  
  65. /General/system/cougarlogin.tiff"        NeXT            on secure  
  66. window=/usr/lib/NextStep/WindowServer onoption="/usr/etc/getty std.9600"
  67. ttya    "/usr/etc/getty std.9600"       unknown         off secure
  68. ttyb    "/usr/etc/getty std.9600"       unknown         off secure
  69. ttyda   "/usr/etc/getty D9600"          unknown         off
  70. ttydb   "/usr/etc/getty D9600"          unknown         off
  71. ttyp0   none                            network
  72. ttyp1   none                            network
  73.  
  74. --
  75. Paul S. Sears                *  sears@uh.edu (NeXT Mail OK)
  76. The University of Houston    *  suggestions@tree.egr.uh.edu (NeXT
  77. Engineering Computing Center *  comments, complaints, questions)
  78. NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC 
  79.           >>> SSI Diving Certification #755020059 <<<
  80. "Programming is like sex: One mistake and you support it a lifetime."
  81.