Operating System - HP-UX
1752584 Members
4443 Online
108788 Solutions
New Discussion юеВ

Legal Notice Prior To Login

 
Mehmood Ansari_1
Occasional Contributor

Legal Notice Prior To Login

Hi
How can I display massage prior to Login on workstation or server. NCR Unix MP Ras massage can be display prior to Login at /etc/issue, but HP UX I could not locate where to put the massage. Some one can help me out.

Thanks
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Legal Notice Prior To Login

Create a file called /etc/issue

Then check your /etc/profile against the one i'm uploading.

You may have something commented out.

Actually that also needs to be enabled in /etc/inted.conf so I'll tar them up and attach

You'll see the statement in inetd.conf that forces telnet to use /etc/issue

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Victor Fridyev
Honored Contributor

Re: Legal Notice Prior To Login

Hi,

Check whether /etcdt/config/C/Xresources file exists. If not, copy it from /usr/dt/config/C/Xresources to /etc/dt/config/Xresources

Edit Dtlogin*greeting*labelString string in /etc/dt/config/Xresources file according to your needs.

You may use the following variables in the string: %LocalHost% and %DisplayName%

Good luck
Entities are not to be multiplied beyond necessity - RTFM
Victor Fridyev
Honored Contributor

Re: Legal Notice Prior To Login

Oops, small error

Check whether /etcdt/config/C/Xresources file exists. If not, copy it from /usr/dt/config/C/Xresources to /etc/dt/config/C/Xresources

Edit Dtlogin*greeting*labelString string in /etc/dt/config/C/Xresources file according to your needs.

You may use the following variables in the string: %LocalHost% and
%DisplayName%
Use "reset login script" option in order to see the changes.

Good luck
Entities are not to be multiplied beyond necessity - RTFM
Sanjiv Sharma_1
Honored Contributor

Re: Legal Notice Prior To Login

Hi Mehmood,

Please check this:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=71494

hth.
Everything is possible
Bill Hassell
Honored Contributor

Re: Legal Notice Prior To Login

/etc/issue is the correct location. However, this message will NOT be displayed for rlogin and telnet until you change the /etc/inetd.conf file. Add the banner option to telnetd and rlogind as in:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue

Once changed, notify inetd about the changes:

inetd -c

and verify the settings:

tail /var/adm/syslog/syslogd.log


Bill Hassell, sysadmin
Mehmood Ansari_1
Occasional Contributor

Re: Legal Notice Prior To Login

Hi
Bill Hassell

Gr8 it is working after changing
/etc/inetd.conf file.

Regards

M.Ansari