How to change pre-login banner???
Anthony DeBoer
adeboer at gjetor.geac.COM
Sat Jan 5 08:58:53 AEST 1991
>In <1085 at pi19.pnfi.forestry.ca> tmoore at 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.663005504 at convex.convex.com> felps at 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 at gjetor.geac.com
Programmer, GEAC J&E Systems Ltd. uunet!jtsv16!geac!gjetor!adeboer
Toronto, Ontario, Canada #include <std.random.opinions.disclaimer>
More information about the Comp.unix.questions
mailing list