Operating System - HP-UX
1834528 Members
3177 Online
110068 Solutions
New Discussion

Getting rid of system info at login screen

 
SOLVED
Go to solution
Michael Campbell
Trusted Contributor

Getting rid of system info at login screen

Folks

Just above our login prompt, there is a line which states the output of uname -nrsvm
Does anyone know how to get rid of this?

Any Help Appreciated

Michael
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Getting rid of system info at login screen

Michael,

Check in /etc/profile to see if it's coming from there.

Pete

Pete
Michael Campbell
Trusted Contributor

Re: Getting rid of system info at login screen

Pete

No, I did get rid of some other rubbish from in /etc/profile but the info I want to stop is coming up before the login prompt so I was thinking that it was something to do with getty perhaps. I looked at /etc/issue but that doesn't seem to be it either. Any other ideas?

Regards

Michael
U.SivaKumar_2
Honored Contributor

Re: Getting rid of system info at login screen

Hi,
check /etc/issue file

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: Getting rid of system info at login screen

Hi,
#strings /etc/gettydefs
look for any relevant string.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Pete Randall
Outstanding Contributor

Re: Getting rid of system info at login screen

Sorry Michael, my head wasn't screwed on straight yet. You did say "before" the login prompt!! I'll go get some more coffee and check back.

Pete

Pete
Cheryl Griffin
Honored Contributor

Re: Getting rid of system info at login screen

Micheal,
The login command is calling uname at login which means that it cannot be changed.

Modifying /etc/gettydefs will only change the "login" prompt. It won't affect the uname output.
Example:
H # B9600 SANE CLOCAL CS8 IXANY TAB3
# B9600 SANE CLOCAL CS8 IXANY TAB3
#login: #H <--- Modifying this line
will produce similar results:

HP-UX wrong B.11.00 U 9000/K580 (ttyp3)

login: root
Password:
Please wait...checking for disk quotas
Copyright message goes here....

New Login:

I think there was an ER to change this behavior. I am still looking for the ER # and will post back if I find it.

Cheryl
"Downtime is a Crime."
Telia BackOffice
Valued Contributor
Solution

Re: Getting rid of system info at login screen

Everybody should do this:


This is for telnet :
# vi /etc/issue
WARNING! UNAUTHORIZED USE PROHIBITED

and not as default :
HP-UX server B.11.00 blabla

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

This is for CDE:

# cp /usr/dt/config/C/Xresources /etc/dt/config/C/Xresources
# vi /etc/dt/config/C/Xresources
Dtlogin*greeting*labelString: "WARNING! UNAUTHORIZED USE PROHIBITED!"
# /sbin/init.d/dtlogin.rc reset

BR,
Jannik