user's groups not activated from Autosys (112 Views)
Reply
Frequent Advisor
Admin.SIF
Posts: 65
Registered: ‎12-21-1999
Message 1 of 7 (112 Views)
Accepted Solution

user's groups not activated from Autosys

We use Autosys as a batch scheduler. We just find out that when it call a process for a specific user, only the gid of that user is activated. But some called program require an other group (which is set as secondary group of the user).

#id
uid=140(usrbatch) gid=107(autosys) groups=20(users)
(We have a SUID program which require group 20(users))

How a process start for a user can "activate" only the gid and not the others groups? Is it possible to always force all groups to be activated?
Sysd. Amin. Inforef
Honored Contributor
John Palmer
Posts: 1,842
Registered: ‎07-28-1997
Message 2 of 7 (112 Views)

Re: user's groups not activated from Autosys

Hi,

Try creating a link to /etc/group called /etc/logingroup.

ln /etc/group /etc/logingroup

Regards,
John
Honored Contributor
Andreas Voss
Posts: 1,364
Registered: ‎10-14-1997
Message 3 of 7 (112 Views)

Re: user's groups not activated from Autosys

Hi,

to have all guid at login time automatically set make y copy from /etc/group to /etc/logingroup

Regards
Honored Contributor
Andreas Voss
Posts: 1,364
Registered: ‎10-14-1997
Message 4 of 7 (112 Views)

Re: user's groups not activated from Autosys

Hi,

for particular chaging group id use:
newgrp

Regards
Frequent Advisor
Admin.SIF
Posts: 65
Registered: ‎12-21-1999
Message 5 of 7 (112 Views)

Re: user's groups not activated from Autosys

The ln solution appears to work.

Do we need to recreate the logingroup each time we change/add/update a group definition ? Can we use a soft link instead of a single link:

ln -s /etc/group /etc/logingroup
Sysd. Amin. Inforef
Honored Contributor
Andreas Voss
Posts: 1,364
Registered: ‎10-14-1997
Message 6 of 7 (112 Views)

Re: user's groups not activated from Autosys

Hi,

softlink works too.

Regards
Frequent Advisor
Admin.SIF
Posts: 65
Registered: ‎12-21-1999
Message 7 of 7 (112 Views)

Re: user's groups not activated from Autosys

Thanks to all of you!
Sysd. Amin. Inforef
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.