11-12-2002
/etc/security/login.cfg is for that purpose on AIX...
getty opens /etc/issue on hp-ux etc.. on AIX it opens /etc/security/login.cfg... also look at this link...
use the herald = "string to show to user"..
I don't know how to display multiple line messages...
http://www.unet.univie.ac.at/aix/fil.../login.cfg.htm
Cheers!
Vishnu.
Last edited by Vishnu; 11-12-2002 at 04:23 PM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I have a Tru64 40f box and I am trying to figure out how the banner is displayed after login.
Now the sys admin (who is now gone) has a message that is displayed for all users AFTER login.
In addition to the /etc/issue and the /etc/motd files another file with a longer message is... (2 Replies)
Discussion started by: sdharmap
2 Replies
2. UNIX for Dummies Questions & Answers
I dont want the kernal info and OP type to come up to every one that logs in to my server. How do I edit the telnet banner to say something different. (1 Reply)
Discussion started by: macdonto
1 Replies
3. UNIX for Dummies Questions & Answers
I don't want SunOS 5.8 to appear when someone logs into my machine... how do I go about changing the banner?
I was thumbing through my unix books and I haven't found anything... I'm probably looking under the wrong topic...
anyways... any help would be greatly appreciated. (20 Replies)
Discussion started by: xyyz
20 Replies
4. UNIX for Dummies Questions & Answers
How can I display a message to the crt whenever someone logs on? They do not see a unix prompt. I need to easily update this also. (2 Replies)
Discussion started by: Beetlejuice
2 Replies
5. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
6. HP-UX
why I didn't set /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd \
telnetd -b /etc/issue
only
telnet stream tcp nowait root /usr/lbin/telnetd
in /etc/ineted.conf
but when I telnet my HPUX machine
it shows those message
HP-UX hp1008 B.11.31 U ia64 (tb)
login:
... (1 Reply)
Discussion started by: alert0919
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
8. UNIX for Dummies Questions & Answers
is there a way to reduce the size of the banner?
banner -w ?
TIA (8 Replies)
Discussion started by: budz26
8 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
getty(8) System Manager's Manual getty(8)
NAME
getty - Sets the terminal type, modes, speed, and line discipline
SYNOPSIS
getty [-h] [-t time] line speed_label terminal line_discipline
getty -c file
FLAGS
Hold the carrier during the initialization phase;do not hang up. Set the time period to the specified number of seconds. Drop the line
after that amount of time if nothing is typed. Check the specified gettydefs file.
DESCRIPTION
The getty command sets and manages terminals by setting up speed, terminal flags, and the line discipline. If command flags are provided,
getty adapts the system to those specifications. getty prints the login prompt, waits for the user to enter a username, and invokes the
login command.
getty uses the /etc/gettydefs file for terminal information. The line argument refers to the device name in /dev. The speed_label argu-
ment is a pointer into the /etc/gettydefs file where the definitions for speed and other associated flags are located. The terminal argu-
ment specifies the name of the terminal type. The line_discipline argument specifies the name of the line discipline.
The second syntax for the getty command provides a check option. When getty is invoked with the -c option and filename argument, it checks
the specified file in the same way it scans gettydefs for terminal information, then prints the results to standard output.
By default, the getty daemon writes the login string specified in the message field of the /etc/gettydefs file to any terminal spawned or
respawned from the /etc/inittab file. If an /etc/issue file present, getty reads the file and writes its contents to the terminal prior to
writing the login string specified in the /etc/gettydefs file.
FILES
Specifies the command path. Specifies the terminal line database file. Specifies the path name for the issue identification file
RELATED INFORMATION
Commands: init(8), login(1), stty(1)
Files: issue(4). delim off
getty(8)