- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- host name issue in 11.11
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
host name issue in 11.11
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:00 AM
01-11-2011 03:00 AM
I have an HPUX 11.11 server.
As usual Iam not able to set a hostname of more than 8 characters in result of uname -a
for example its showing hostname output as perfect but while giving uname -a giving partial name with in 8 characters.
root@convert15:.../root # uname -a
HP-UX convert1 B.11.11 U 9000/785 468273748 unlimited-user license
root@convert15:.../root #
root@convert15:.../root # uname -S convert15
Nodename must be less than9 characters
root@convert15:.../root #
Note: its the issue in setting hostname display in uname -a o/p only!!
any solution for this?
thnx much in advance
Rgds
Sree
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:03 AM
01-11-2011 03:03 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:04 AM
01-11-2011 03:04 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
there is a way to do it but it`s not secure & highly recommended as it causes a security exception if you still want it i may sent it to you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:06 AM
01-11-2011 03:06 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
Pls send me the procedure to do it.
Its for my testing purpose only.
I can comprimise the security here.
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:10 AM
01-11-2011 03:10 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
let me search it ..will post EOD
Thanks & Regards
Manix
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 03:12 AM
01-11-2011 03:12 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
Thnx for help.
I will wait for your feedback on this.
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 04:00 AM - last edited on 11-10-2011 01:38 PM by Kevin_Paul
01-11-2011 04:00 AM - last edited on 11-10-2011 01:38 PM by Kevin_Paul
Re: host name issue in 11.11
Re: host name issue in 11.11
Have a look at Bill Hassel's detailed and excellent response in this post:
http://h30499.www3.hp.com/t5/System-Administration/increasing-max-length-of-uname/m-p/2651570#M46143
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 08:16 AM
01-11-2011 08:16 AM
Solution& secure ..i tested it a year back !!
Referred to PHCO_21833 for 11.00 which states that libpam_unix.1 which is one of the PAM library function checks the the existence of a file called "I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS" in the directory /etc/default.
If this file exists then user may have login name with more than 8 characters.
There is not need to install any patch for libpam_unix.1 from 11.11 onwards as this functionality is enabled by default but we need to create the file manually.
To resolve the issue tried following steps : -
1) cd /etc/default
2)touch I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS
3) jets 11.11: /etc/default # ls -l
total 48
-rw-rw-rw- 1 root sys 0 Mar 31 07:37 I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS
-r--r--r-- 1 bin bin 11 Apr 21 2008 fs
-r--r--r-- 1 root root 626 Jan 22 2007 nlspath
-r--r--r-- 1 bin bin 84 Feb 28 2006 useradd
4) vi /etc/paswd
and added a line ( manually created the directory /home/test) testtester:*:992:20::/home/test:/sbin/sh
5)Created the password for user
passwd testtester
Changing password for testtester
New password:
Re-enter new password:
Passwd successfully changed
6) tried to login
HP-UX jets B.11.11 A 9000/800 (tc)
login: testtester
Password:
Log in sucessfull
Thanks & Regards
Manix
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 08:19 AM
01-11-2011 08:19 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
Look at the subject.
However, good information.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 08:38 AM
01-11-2011 08:38 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
U r always right !! will search more ..
thanks for yr guidance.
Regards
Manix
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 09:04 AM
01-11-2011 09:04 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
iam surprised and bit afraid.
we started the discussion about the hostname issue..but seems you moved to the login names that are more than 8 characters?
could you pls clarify?
rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 09:17 AM
01-11-2011 09:17 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
sorry for some confusion here ..posting too many thread today - ))
in regard to hostname i will go with Bill as
below.
Edit the file: /etc/rc.config.d/netconf and locate the line:
HOSTNAME="goofy"
Add a new line:
NODENAME="goofy"
and change HOSTNAME to:
HOSTNAME="goofythegreat"
or whatever.
Now be sure to edit /etc/hosts to include the short uname and the long hostname (as well as the FQDN or fully qualified domain name) appear in /etc/hosts.
Then to avoid delays and problems with DNS, edit gthe /etc/nsswitch.conf file and change the hosts: line to read
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns
This ensure high reliability (in case of a DNS failure) and low network load for unnecessary DNS requests.
Now your system is ready to reboot, but if you want to verify that all is well, you can make the changes by hand too:
uname -S goofy
hostname goofythegreat
This looks the max possibility so far .
Will post if i am able to find more on this.
Thanks & Regards
Manix
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2011 09:23 AM
01-11-2011 09:23 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
No problems!
I have seen you are working hard and seen your replies in many threads today!!!
excellent I really appreciate you!
If possible can u pls provide your personal mailing adress ,incase of any help I can contact you directly if you dont mind :-)
pls pardon if my request is wrong.
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-12-2011 12:56 AM
01-12-2011 12:56 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
Thanks for helping Manix,
It would be nice if the discussion is not diverted to personal email ids. This could potentially generate spam mails for you and is best to resolve the issues within the forum, this way, other members too will learn from the answers that come by.
Thanks & Regards,
Rashmi
Forum Moderator
Rashmi
Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-13-2011 08:48 AM
01-13-2011 08:48 AM
Re: host name issue in 11.11
Re: host name issue in 11.11
This case is closed.
rgds
Sree
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP