updates without password?
Valent Turkovic
valent.turkovic at gmail.com
Mon Feb 25 23:01:11 UTC 2008
2008/2/25 Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
> Valent Turkovic wrote:
> > 2008/2/22 Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
> >> Valent Turkovic wrote:
> >> > How can I configure pup so that it doesn't ask for root password every
> >> > time I need to do an update?
> >> >
> >> One way would be to edit /etc/pam.d/pup and change it to something like:
> >>
> >> #%PAM-1.0
> >> auth include config-util
> >> auth sufficient pam_console.so
> >> account include config-util
> >> session include config-util
> >>
> >> I have not tested it, but it should let the "console owner" run pup
> >> without a password. If it does not work, you can try exchanging the
> >> two auth statements, but this is more of a security risk. (It
> >> probably does not matter for a home system.)
> >
> > I wouldn't do this if it wasn't my personal home system...
> >
> > I did this and I'm waiting for updates to let you know if it works :)
> >
> > Thank you.
> >
> > Cheers,
> > Valent.
> >
> >
> Well, if I make it:
> #%PAM-1.0
>
> auth sufficient pam_console.so
> auth include config-util
>
> account include config-util
> session include config-util
>
> I can run pup from the command line without it asking for root's
> password. So unless the applet is calling something different, it
> should work.
>
>
>
> Mikkel
This doesn't work:
# cat /etc/pam.d/pup
#%PAM-1.0
auth include config-util
auth sufficient pam_console.so
account include config-util
session include config-util
but this works:
# cat /etc/pam.d/pup
#%PAM-1.0
auth sufficient pam_console.so
auth include config-util
account include config-util
session include config-util
I followed the previous post that had "auth sufficient
pam_console.so" as a second line but it only works if you put it as
first line, as you wrote here...
Thanks!
Valent.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic
More information about the fedora-list
mailing list