Operating System - HP-UX
1829102 Members
2568 Online
109986 Solutions
New Discussion

Length limitation for names of unix groups with NIS

 
FOREST Michel
Frequent Advisor

Length limitation for names of unix groups with NIS

Has someone already experimented a problem on group names, with NIS installed on a HP9000 UNIX server with HP-UX.11.00 ?
We can't see group names larger then 8 characters when NIS domainame is set.
For instance, on files belonging to a group with 9 characters, the ls command truncates the group name, only the first 8 characters appear.
If we unset the domainname, all characters are displayed after few seconds.

Francois H.

A rookie in the HP Forum :)
7 REPLIES 7
Rita C Workman
Honored Contributor

Re: Length limitation for names of unix groups with NIS

8 is the limit. It will let you create something with more than 8, but it will only recognize the first 8.

From what I have read...some who have tried to get around this, ran into problems.

Regards,
Rick Garland
Honored Contributor

Re: Length limitation for names of unix groups with NIS

No more than 8. Also, be careful as to the number of characters within a group.
Stefan Farrelly
Honored Contributor

Re: Length limitation for names of unix groups with NIS


Rita is correct. >8 is unsupported.
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: Length limitation for names of unix groups with NIS

Hi:

Looking at the patch text for PHNE_21376 would also suggest that this is a worthwhile patch to apply, althought it may not help your problem directly.

...JRF...
FOREST Michel
Frequent Advisor

Re: Length limitation for names of unix groups with NIS

On many servers with HP.10.20 and NIS, we have groups with more than 8 characters, and we see all characters with using ls command.

If we upgrade our servers, we don't want to regress...

A rookie in the HP Forum :)
Rita C Workman
Honored Contributor

Re: Length limitation for names of unix groups with NIS

As was stated...8 is the 'true' limit.
The system will only recognize the first 8 characters. So if you have created using more than 8 than I would be careful to ensure the the first 8 remain unique.....
Otherwise I would forsee you are going to have a problem..

Regards,
FOREST Michel
Frequent Advisor

Re: Length limitation for names of unix groups with NIS

I'm not sure 8 is the limit !
We have groups names larger than 8 characters with HP-UX 10.20 and everithing works fine with NIS.
A rookie in the HP Forum :)