- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Login
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 05:48 PM
04-30-2007 05:48 PM
Login
When i am doing a telnet to my system it is showing following message before login prompt.
"HP-UX Hostname B.11.11 U 9000/800 (tb)"
But security point of view it should not be happend so please let me know how should i change this and normally instade of this message what should i put ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 07:14 PM
04-30-2007 07:14 PM
Re: Login
have you checked the file /etc/inetd.conf .
Look for the telnet line, which would call a file.
You may want to look at this similar thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223757
Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.
So far you have rewarded only 7 of 45 answers !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:35 AM
05-01-2007 12:35 AM
Re: Login
>happend so please let me know how should i
>change this and normally instade of this
>message what should i put ?
From a security point of view, you shouldn't be running telnet at all. All network traffic, including passwords, is transmitted in cleartext.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:59 AM
05-01-2007 12:59 AM
Re: Login
You can check for that at the following files.
/etc/motd
/etc/profile or $HOME/.profile , but actually I believe that these two option are the right for you.
Try that, and let us know your results trying to enter to the system again.
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:11 AM
05-01-2007 01:11 AM
Re: Login
At the end of my "/root/.profile" you can see the following. :
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
export HISTFILE=/root/.sh_history
export HISTSIZE=3000
umask 022
PS1=`id -un`'@'`hostname`:'${PWD##//}> '
----------------
Probably you have something like that with that message in your .profile file.
Regards,
MArc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:23 AM
05-01-2007 01:23 AM
Re: Login
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:44 AM
05-01-2007 01:44 AM
Re: Login
Actually I see that the banner you say could not be removed and is part of the system.
http://docs.hp.com/en/5991-6482/ch03s10.html
AFTER logged into the system, you can see reflected the other banner such as /etc/motd, /etc/issue, /etc/copyright , and the .profile files.
I believe that info cannot be remove it from there.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 01:47 AM
05-01-2007 01:47 AM
Re: Login
Marc0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 02:19 AM
05-01-2007 02:19 AM
Re: Login
"HP-UX Hostname B.11.11 U 9000/800 (tb)"
is the default for telnet
to remove it do the following:
a) create a file containing whatever you want this to say instead of the above msg. this file *can* be empty if desired. for this example, we're going to call it "/etc/blankfile"
b) edit /etc/inetd.conf. find the line w/ telnetd. you need to add
"-b /etc/blankfile" to the end so that it looks like this:
telnet stream tcp nowait root /usr/lbin/telnetd
telnetd -b /etc/blankfile
c) restart inetd running
"/usr/sbin/inetd -c"
the offending message should be gone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 02:24 AM
05-01-2007 02:24 AM
Re: Login
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 05:32 AM
05-01-2007 05:32 AM
Re: Login
First, immediately change the /etc/issue file to nothing more than an identifier of the system, perhaps an alias or maybe just your company name -- nothing more.
Now, edit /etc/inetd.conf and make sure that telnet and rlogin have the /etc/issue file explicitly stated:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue
login stream tcp nowait root /usr/lbin/rlogind rlogind -B /etc/issue
It's important to note that if you do NOT specify the -b or -B option for these commands, they will use the default which looks like what you are seeing. Also, /etc/issue right out of the box looks like this:
GenericSysName [HP Release B.11.11] (see /etc/issue)
not a good choice. Once you change /etc/issue and inetd.conf, run inetd -c to re-read the file and tail syslog.log to make sure the changes were seen. Now, the no-login information will be secure.
NOTE: You certainly can put a blank line in /etc/issue but then it's tricky to figure out if you have connected to the right machine. And if you do not use ssh, worrying about /etc/issue is just rearranging deck chairs on the Titanic.
Bill Hassell, sysadmin