-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not drop privileges when using sudo #28
Comments
I investigated a little bit more. So using the git version before the commit "reimplement drop_privs to implement the pam_modutils interface" does work without errors when using the following pam config
However unlocking gnome-screensaver or xscreensaver still does not work. |
so we have to allocate a second one and point to that for the second time we want to drop privs. relates to #28
With this last patch the drop privs path works properly (obviously not tested enough when I pushed the previous part). /klas |
I tried the following PAM configuration with all the yubico code compiled from lastest git on Ubuntu Precise:
When using "su" it the authentication works ok:
But when using "sudo su" I get the following error:
I still get root privileges using this, but here [1] is a reference that states that this could be security risk.
Also unlocking gnome screensaver does not work. Are there an prerequisites for that to work, like dbus (I uninstalled some of the default packages from ubuntu)?
[1] http://stdio.tumblr.com/post/16542319413
The text was updated successfully, but these errors were encountered: