Anonymous_User Absent Member.
Absent Member.
653 views

about ID Command to query external Group


Hi All
I read NPUM amdin guide section 5.16.4 , it show try to perform
"usrun id" to get external group inofrmation.
I had set a [Command] to perform /usr/bin/id or id and create a rule to
control id like below
======
Begin Rule: grouplookup
If ((command IN id) AND (user IN Everyone AND user IN testing user
group))
Then
Set Authorize: yes
Set Session Capture: yes
Stop
End If
End Rule: grouplookup
======

but I perform "usrun id" or"usrun /usr/bin/id" it only show linux logon
user information.....like below
"uid=1002(wencheng) gid=100(users)
groups=100(users),16(dialout),33(video)"

How could I modify it to get result like section 5.16.4 ??:confused:

thanks!!

wyldkao


--
wyldkao
------------------------------------------------------------------------
wyldkao's Profile: https://forums.netiq.com/member.php?userid=1688
View this thread: https://forums.netiq.com/showthread.php?t=49317

0 Likes
1 Reply
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: about ID Command to query external Group

Did you add the '$<ExtGroups>$' section into the 'User Message' field in
the PUM user interface? The 'id' command is not the part doing what
you're seeing, but that's extra magic from PUM I believe.


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.