Re: PAM, HAL, and PolicyKit

2006-10-31 Thread Simon Geard
On Mon, 2006-10-30 at 06:30 -0800, Dan Nicholson wrote: > Only for X, huh? That's unfortunate. Easily patched, though - one short function checks if a tty is local, and it's just a matter of adding an extra conditional case. Seems to work, though my testing is limited to the command line tools tha

Re: PAM, HAL, and PolicyKit

2006-10-30 Thread Dan Nicholson
On 10/29/06, Simon Geard <[EMAIL PROTECTED]> wrote: Here's a tip for when you do look at it, which may save you some time and frustration. The package includes a pam module which grants local users a 'desktop-console' privilege - this module only considers X sessions to be local, i.e TTY matches

Re: PAM, HAL, and PolicyKit

2006-10-29 Thread Simon Geard
On Sat, 2006-10-28 at 08:25 -0700, Dan Nicholson wrote: > No, sorry. I'm really excited about what's going on over there, but > I've been keeping HAL-0.5.7 until we can get the BLFS release put > together. Soon, though. There's a ton of good stuff in there. > > I've seen the PolicyKit conf files a

Re: PAM, HAL, and PolicyKit

2006-10-28 Thread Dan Nicholson
On 10/28/06, Simon Geard <[EMAIL PROTECTED]> wrote: On Fri, 2006-10-27 at 12:33 -0700, Dan Nicholson wrote: > system-auth is just a grouping of policies. I can't remember if I > copied this directly from Fedora or Paldo. I'll give that a go then. Have you done anything with PolicyKit, by the wa

Re: PAM, HAL, and PolicyKit

2006-10-28 Thread Simon Geard
On Fri, 2006-10-27 at 12:33 -0700, Dan Nicholson wrote: > system-auth is just a grouping of policies. I can't remember if I > copied this directly from Fedora or Paldo. I'll give that a go then. Have you done anything with PolicyKit, by the way? I know you follow the HAL mailing list, but not sur

Re: PAM, HAL, and PolicyKit

2006-10-27 Thread Dan Nicholson
On 10/27/06, Dan Nicholson <[EMAIL PROTECTED]> wrote: system-auth is just a grouping of policies. I can't remember if I copied this directly from Fedora or Paldo. $ cat /etc/pam.d/system-auth #%PAM-1.0 authrequiredpam_env.so authsufficient pam_unix.so li

Re: PAM, HAL, and PolicyKit

2006-10-27 Thread Dan Nicholson
On 10/27/06, Simon Geard <[EMAIL PROTECTED]> wrote: Hi all... Since the future of HAL seems to involve the PolicyKit module, I'm attempting to install it for HAL 0.5.8.1. Among other things, it installs a new PAM configuration, which basically amounts to: # /etc/pam.d/policy-kit auth incl

PAM, HAL, and PolicyKit

2006-10-27 Thread Simon Geard
Hi all... Since the future of HAL seems to involve the PolicyKit module, I'm attempting to install it for HAL 0.5.8.1. Among other things, it installs a new PAM configuration, which basically amounts to: # /etc/pam.d/policy-kit auth include system-auth accountinclude system-au