Re: updates without password?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/2/25 Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx>:
> Valent Turkovic wrote:
>  > 2008/2/22 Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx>:
>  >> 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux