Article View: comp.sys.next.sysadmin
Article #801Re: changing login tiff --- where is it in 3.0 ?
From: Paul S. Sears
Date: Tue, 08 Sep 1992 20:50
Date: Tue, 08 Sep 1992 20:50
67 lines
3631 bytes
3631 bytes
In article <1992Sep6.165513.11989@ni.umd.edu> louie@sayshell.umd.edu (Louis A.
Mamakos) writes:
=>In article <1992Sep6.140740.1325@mwhhlaw.uucp> bob@mwhhlaw.com writes:
=>>In article <1992Sep5.225655.21121@scott.skidmore.edu>
=>>tholland@pars.skidmore.edu (Anthony Holland) writes:
=>>>....anybody know where the loging tiff has moved to?
=>>
=>>/usr/lib/NextStep/loginwindow.app/English.lproj/nextlogin.tiff
=>>
=>>But if you just want to change the hostname use
=>>
=>>dwrite loginwindow HostName
=>
=>Here's what I do; my defaults database for "root" contains:
=>
=>loginwindow HostName localhost
=>loginwindow ImageFile /local/loginwindows/LOGIN.tiff
=>
=>"localhost" is special; the actual host name displayed is whatever
=>the /bin/hostname program returns. Thus, you don't need a different
=>value for every machine. Also, it is usually considered rude to
=>modify the standard supplied files when you can just specify one of
=>your own. That's what I did for the loginwindow tiff image.
=>
=>louie
This is a good way to do it. "localhost" is nice when you want to change the
name of your workstation. You only need to change it in NetInfo instead of
everywhere you have hardcoded it.
What surprises me is that noone uses the /etc/ttys file. No need to dwrite to
the defaults database (which gets hosed every so often...)
Here is our ttys file (we have our own customized login window image, MOTD
runs when anyone logs on, and the hostname is placed in the loginwindow
image):
#
# name getty type status comments
#
# If you do not want to start the window server by default, you can
# uncomment the first entry and comment out the second.
#
# console "/usr/etc/getty std.9600" NeXT on secure
#console "/usr/lib/NextStep/loginwindow -HostName localhost -ImageFile
/usr/lib/NextStep/cougarlogin.tiff -PowerOffDisabled true" NeXT
on secure window=/usr/lib/NextStep/WindowServer onoption="/usr/etc/getty
std.9600"
#
console "/usr/lib/NextStep/loginwindow -HostName localhost -LoginHook
/LocalApps/MOTD -LogoutHook /usr/local/bin/LogoutHook -ImageFile
/General/system/cougarlogin.tiff" NeXT on secure
window=/usr/lib/NextStep/WindowServer onoption="/usr/etc/getty std.9600"
ttya "/usr/etc/getty std.9600" unknown off secure
ttyb "/usr/etc/getty std.9600" unknown off secure
ttyda "/usr/etc/getty D9600" unknown off
ttydb "/usr/etc/getty D9600" unknown off
ttyp0 none network
ttyp1 none network
--
Paul S. Sears * sears@uh.edu (NeXT Mail OK)
The University of Houston * suggestions@tree.egr.uh.edu (NeXT
Engineering Computing Center * comments, complaints, questions)
NeXT System Administration * DoD#1967 '83 NightHawk 650SC
>>> SSI Diving Certification #755020059 <<<
"Programming is like sex: One mistake and you support it a lifetime."
Technical Details
Message-ID:
<1992Sep8.205020.11252@menudo.uh.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenetReferences:
<1992Sep6.165513.11989@ni.umd.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!usenet From: sears@tree.egr.uh.edu (Paul S. Sears) Subject: Re: changing login tiff --- where is it in 3.0 ? Message-ID: <1992Sep8.205020.11252@menudo.uh.edu> Sender: usenet@menudo.uh.edu (USENET News System) Nntp-Posting-Host: thanatos.egr.uh.edu Reply-To: sears@tree.egr.uh.edu Organization: University of Houston References: <1992Sep6.165513.11989@ni.umd.edu> Date: Tue, 8 Sep 1992 20:50:20 GMT Lines: 67