Operating System - HP-UX
1834017 Members
2330 Online
110063 Solutions
New Discussion

Re: Users & groups administration

 
Arturo Perez del Galleg
Frequent Advisor

Users & groups administration

Hi all!
I'm creating a new group in my HPUX 11.0 server and i want to include in this all the members of the various existing groups. How to i can to structure this for not insertion of new members on every group? I can to define a group into an other group?
Any suggestion or link is very preciated.
TIA
8 REPLIES 8
Umapathy S
Honored Contributor

Re: Users & groups administration

My apologies.

Using mozilla and replied on the wrong tab.

very sorry,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Vicente Sanchez_3
Respected Contributor

Re: Users & groups administration

Hello Arturo,

I think that you can find the solution with logingroup, man logingroup.

HTH, Vicente.
Rajesh G. Ghone
Regular Advisor

Re: Users & groups administration

Hi,

You can try logingroup or newgrp for more details please see man pages.

Regards,
Rajesh G.
Rajesh Ghone
Arturo Perez del Galleg
Frequent Advisor

Re: Users & groups administration

Sorry, this is the solution for the membership of the account on various groups, but i must to join the new account on various groups. It is'nt possible to create one hierarchy of groups? Creating the user in one group, it's member in the other one, because the "hierarchy".
TIA
John Meissner
Esteemed Contributor

Re: Users & groups administration

Just out of curiousity... buy why would you want to do this? doesn't this compromise security? Unix already has a group that "everyone" can belong to... it's called users.
Is there some type of application that you are trying to give everyone permissions to?
I'm curious as to your reasons for doing this.
All paths lead to destiny
Darren Prior
Honored Contributor

Re: Users & groups administration

Hi,

There is no concept of group hierarchy in HP-UX I'm afraid - there is no place in /etc/group for other group names within a group.

regards,

Darren.
Calm down. It's only ones and zeros...
Zeev Schultz
Honored Contributor

Re: Users & groups administration

Hm,probably you should try some more advanced
methods,like ldap maybe?
So computers don't think yet. At least not chess computers. - Seymour Cray
Arturo Perez del Galleg
Frequent Advisor

Re: Users & groups administration

In my installation it's a definition of groups and the user's membership that i believe correct. I must create an other new group (A)composed by the users of all the users of various existing groups (B) and others users.
In the future if an otther user is created on an existing group of A, i must to include on A and on B (and on C, on D).
My question was if it's an other way more easy to do this, but...
TIA