1833541 Members
3153 Online
110061 Solutions
New Discussion

xterm and /etc/group

 
SOLVED
Go to solution
Clifton Smith
Occasional Advisor

xterm and /etc/group

I have an application that uses xterm to launch a maintenance screen for the app. This maintenance screen launch script is owned by a group that has a large number of users - so large as a matter of fact, that it is split into multiple lines in the /etc/group file. Some users listed at the end of the group entry don't have access because xterm is not reading past a certain point in /etc/group for this particular group. Users listed earlier in the group file for this group can access the maintenance app with no issues. Is there some way to have xterm see ALL of the users in a large group that is split into multiple lines in /etc/group? Or to have the /etc/group file not split the entries into multiple lines? We are running HP-UX 11.11
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: xterm and /etc/group

chkgrp

This command will probably spot a problem with the way that line in /etc/group was split.

I'm thinking the split was a bad idea. chkgrp will prove it.

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
Michael Tully
Honored Contributor
Solution

Re: xterm and /etc/group

Try 'grpck' instead
Anyone for a Mutiny ?
Clifton Smith
Occasional Advisor

Re: xterm and /etc/group

OK guys, this is getting me started in the right direction. I did get some warnings for large file entries like this:

Warning: large multi-line group - size is 2130, maximum size is 2048

Is there any way to increase the maximum allowable group size? Or is this a fixed parameter in HP-UX 11.11 ?
Robert-Jan Goossens
Honored Contributor

Re: xterm and /etc/group