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

Parents
  • 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...
Reply
  • 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...
Children
No Data