Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!yunexus!hydroesm!jtsv16!torsqnt!geac!gjetor!adeboer From: adeboer@gjetor.geac.COM (Anthony DeBoer) Newsgroups: comp.unix.questions Subject: Re: How to change pre-login banner??? Message-ID: <1991Jan4.215853.27881@gjetor.geac.COM> Date: 4 Jan 91 21:58:53 GMT References: <1085@pi19.pnfi.forestry.ca> Organization: Geac J&E Systems Ltd. Lines: 28 >In <1085@pi19.pnfi.forestry.ca> tmoore@pi19.pnfi.forestry.ca (Tom Moore) writes: >>How do I change the banner that is printed by 'getty' >>before a users logs in? In article felps@convex.com (Robert Felps) writes: >Do a man on gettytab. > >$ man 5 gettytab > >You need to edit /etc/gettytab and change the im= field on the appropriate >definition. The %h can be used to set the node. The file you want may also called /etc/gettydefs (in System V). Find the line in /etc/inittab for the port. It will say (in part) "/etc/getty ttyxx label" (where label might be "9600"). Find the corresponding clause in gettydefs and change it. Under IBM AIX (which of course stands for "AIX Isn't uniX" :-), the relevant file is /etc/ports. Just thought others might be interested. This is one of those lovely areas of nonstandardarity between the *ix'es. Somebody fixed one machine at our shop so it goes "Oooh, I love it when you login:". (BTW, note that regardless of the system, breaking the file will most likely break the system). -- Anthony DeBoer - NAUI #Z8800 adeboer@gjetor.geac.com Programmer, GEAC J&E Systems Ltd. uunet!jtsv16!geac!gjetor!adeboer Toronto, Ontario, Canada #include