Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 62863 Details for
Bug 31877
Not using pam_console by default in Gentoo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pam-console-doc.patch
pam-console-doc.patch (text/plain), 2.80 KB, created by
Gregorio Guidi (RETIRED)
on 2005-07-07 14:23:00 UTC
(
hide
)
Description:
pam-console-doc.patch
Filename:
MIME Type:
Creator:
Gregorio Guidi (RETIRED)
Created:
2005-07-07 14:23:00 UTC
Size:
2.80 KB
patch
obsolete
>Index: pam-0.78-r2.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.78-r2.ebuild,v >retrieving revision 1.18 >diff -u -B -r1.18 pam-0.78-r2.ebuild >--- pam-0.78-r2.ebuild 7 Jul 2005 19:46:03 -0000 1.18 >+++ pam-0.78-r2.ebuild 7 Jul 2005 21:19:02 -0000 >@@ -379,4 +379,11 @@ > rm -f ${ROOT}/etc/pam.d/system-auth.new > fi > fi >+ >+ if use pam_console; then >+ echo >+ einfo "If you want to enable the pam_console module, please follow" >+ einfo "the instructions in /usr/share/doc/${PF}/README.pam_console" >+ echo >+ fi > } >Index: files/README.pam_console >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/sys-libs/pam/files/README.pam_console,v >retrieving revision 1.2 >diff -u -B -r1.2 README.pam_console >--- files/README.pam_console 25 Feb 2005 20:31:28 -0000 1.2 >+++ files/README.pam_console 7 Jul 2005 21:19:02 -0000 >@@ -25,14 +25,22 @@ > However, Gentoo gives you the possibility to enable pam_console, you just have > to follow these advices: > >-1) In /etc/pam.d/login, add the following line: >+1) Make sure you compiled sys-libs/pam with USE="pam_console", otherwise the >+ pam_console module will not be built. > >- session optional /lib/security/pam_console.so >+2) In /etc/pam.d/login, add the following line: >+ >+ session optional pam_console.so > > Thus, pam_console will apply permissions from /etc/security/console.perms >- when you log in. >+ when you log in in text consoles. >+ Do the same with /etc/pam.d/xdm if you login through xdm, with /etc/pam.d/kde >+ if you login through kdm, and so on. >+ >+ Alternatively, you can add the line above to /etc/pam.d/system-auth so that >+ pam_console will be enabled everywhere. > >-2) If you're using devfs, add the following lines in /etc/devfsd.conf: >+3) If you're using devfs, add the following lines in /etc/devfsd.conf: > > REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so\ > pam_console_apply_single $devpath >@@ -40,7 +48,7 @@ > In this way, permissions from /etc/security/console.perms will be applied > also to those devices that are created dynamically. > >-3) If you're using udev, create a file in /etc/dev.d/default/ ending with >+4) If you're using udev, create a file in /etc/dev.d/default/ ending with > '.dev', for instance /etc/dev.d/default/pam_console.dev, containing the > following lines: > >@@ -54,5 +62,7 @@ > In this way, pam_console will reevaluate permissions from > /etc/security/console.perms each time a device is dynamically created. > >-4) Tweak /etc/security/console.perms to your own needs. >+ Another possible way to obtain the same result is to use the RUN key >+ in udev rules (see the udev documentation for more info). > >+5) Tweak /etc/security/console.perms to your own needs.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31877
:
39249
| 62863