On Thu, 2012-08-30 at 22:10 +0000, Jamie Strandboge wrote:
> I did this locally and it worked fine. setgroups() seems to be able to
> be called after setgid() but not after setuid().

Okay, so I figured out my issue, but I'm unsure of how to handle it.  I
am testing this using pamtester, which runs as my user.  And my user
can't call setgroups() because, well, I'm not root.  If I run pamtester
under sudo, then it works.

So, it would seem that a valid error from setgroups is a permission
error.  Because if you can't set them, you likely aren't in a position
to really screw with things.  Would that be okay?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1039634

Title:
  [MIR] libpam-freerdp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-freerdp/+bug/1039634/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to