Operating System - HP-UX
1824001 Members
3627 Online
109667 Solutions
New Discussion юеВ

disclaimer on hp-ux logon screen

 
SOLVED
Go to solution
OzTEXS
Advisor

disclaimer on hp-ux logon screen

hi,

i am just wanting to find out how i can add a disclaimer on the initial logon screen of hp-ux 11.0.

i already use motd for after login but i want to use a disclaimer for when you telnet from another machine to the hpux box and see the disclaimer before you login.

thanks in advance,
oz
8 REPLIES 8
Hoefnix
Honored Contributor

Re: disclaimer on hp-ux logon screen

Hi,
Just edit /etc/issue (or link it to /etc/motd)

HTH,
Peter
Mark Grant
Honored Contributor

Re: disclaimer on hp-ux logon screen

Have a lok at /etc/issue
Never preceed any demonstration with anything more predictive than "watch this"
OzTEXS
Advisor

Re: disclaimer on hp-ux logon screen

i already have made changes to /etc/issue
and they dont seem to appear.

do i need to change the permissions on issue?

Joseph Loo
Honored Contributor
Solution

Re: disclaimer on hp-ux logon screen

hi,

don't forget:

# vi /var/inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd -b /etc/issue

add "-b /etc/issue", after adding any disclaimer to /etc/issue.

# inetd -c
to re-configure the internet daemon.

regards.
what you do not see does not mean you should not believe
Hoefnix
Honored Contributor

Re: disclaimer on hp-ux logon screen

Hi,
start your telnetd with the -b . (see /etc/inetd.conf)
/etc/issue is default only used for getty from /etc/inittab.

If you are using rlogind use the option -B

HTH,
Peter
Elmar P. Kolkman
Honored Contributor

Re: disclaimer on hp-ux logon screen

And for sshd you need to have a Banner entry in your sshd configuration file.

So, for every daemon or process you use to login to the system, you need to specify the banner file. And if you use /etc/issue for all, mind that some of those daemons have limitations on the content of the file. For instance, it cannot be larger then 1 Kb...
Every problem has at least one solution. Only some solutions are harder to find.
OzTEXS
Advisor

Re: disclaimer on hp-ux logon screen

thanks josef loo

all is working fine now !!

cheers,
oz
Joseph Loo
Honored Contributor

Re: disclaimer on hp-ux logon screen

hi,

since you are new to this forum, please read:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

some points for the effort and trouble everyone as given you.

regards.
what you do not see does not mean you should not believe