Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to disable PAM per process?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nixscripter
n00b
n00b


Joined: 14 Jun 2008
Posts: 72
Location: Somewhere Cold, USA

PostPosted: Mon Jan 10, 2011 2:05 am    Post subject: How to disable PAM per process? Reply with quote

I started a thread on this already, but it had a bunch of analysis in it. Here is a much simpler question.

I had a process running in a jail root. When I upgraded PAM, it broke, because it decided to start looking for PAM config files in the jail root.

How can I disable PAM for just this process, as I was advised to do in another thread?
Back to top
View user's profile Send private message
Marq
n00b
n00b


Joined: 31 Mar 2009
Posts: 40
Location: Cracow, Poland

PostPosted: Tue Jan 11, 2011 9:39 pm    Post subject: Reply with quote

Disable PAM checking in app configuration? Or create some fake pam conf files in chroot maybe?
Back to top
View user's profile Send private message
nixscripter
n00b
n00b


Joined: 14 Jun 2008
Posts: 72
Location: Somewhere Cold, USA

PostPosted: Wed Jan 12, 2011 5:06 am    Post subject: Reply with quote

Trying a hundred combinations of fake files in the jail root is what failed.

And I don't know if it's the app, or it's start-stop-daemon that's actually the problem.
Back to top
View user's profile Send private message
Marq
n00b
n00b


Joined: 31 Mar 2009
Posts: 40
Location: Cracow, Poland

PostPosted: Wed Jan 12, 2011 8:21 am    Post subject: Reply with quote

So maybe try strace to find out what files deamon's trying to open?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum