← Back to team overview

openerp-india team mailing list archive

Re: [Question #241943]: pam_limits.so removed from /etc/pam.d/sudo in Precise

 

Question #241943 on sudo in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/241943

    Status: Answered => Open

Matt is still having a problem:
Thanks for replying Andrew.

The changelog mentions the addition of common-session-noninteractive,
but doesn't mention why pam_limits.so was removed (it's not present in
common-session-noninteractive either):

--- sudo-1.7.4p6/debian/sudo.manpages	2011-05-23 07:01:02.000000000 +0000
+++ sudo-1.8.3p1/debian/sudo.manpages	2011-10-26 23:04:10.000000000 +0000
@@ -1,3 +1,3 @@
-build-simple/sudo.man
-build-simple/sudoers.man
-build-simple/visudo.man
+build-simple/doc/sudo.man
+build-simple/doc/sudoers.man
+build-simple/doc/visudo.man
diff -Nru sudo-1.7.4p6/debian/sudo.pam sudo-1.8.3p1/debian/sudo.pam
--- sudo-1.7.4p6/debian/sudo.pam	2011-05-23 07:01:02.000000000 +0000
+++ sudo-1.8.3p1/debian/sudo.pam	2011-10-26 23:04:10.000000000 +0000
@@ -2,6 +2,4 @@
 
 @include common-auth
 @include common-account
-
-session required pam_permit.so
-session required pam_limits.so
+@include common-session-noninteractive

Seems related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519700

Any help is much appreciated.

Thanks,
Matt

-- 
You received this question notification because you are a member of
OpenERP Indian Team, which is an answer contact for sudo in Ubuntu.