mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
generic: add BSD host and configuration test hint to README.pam [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4a3120ecc5
commit
cb432f7389
1 changed files with 12 additions and 5 deletions
15
README.pam
15
README.pam
|
@ -22,7 +22,7 @@ Using PAM
|
||||||
---------
|
---------
|
||||||
|
|
||||||
By default, PAM is automatically used, if it is found. Use
|
By default, PAM is automatically used, if it is found. Use
|
||||||
-DWITH_PAM=FALSE to disable it.
|
-DWITH_PAM=FALSE to disable it.
|
||||||
|
|
||||||
If PAM is found, KDE usually uses the PAM service "kde". You may
|
If PAM is found, KDE usually uses the PAM service "kde". You may
|
||||||
override it for all KDE programs by using -DKDE4_COMMON_PAM_SERVICE=<service>
|
override it for all KDE programs by using -DKDE4_COMMON_PAM_SERVICE=<service>
|
||||||
|
@ -31,15 +31,22 @@ one of KDM and kscreensaver (both use kcheckpass).
|
||||||
|
|
||||||
Two files are provided but not installed - kde.pamd and kscreensaver.pamd.
|
Two files are provided but not installed - kde.pamd and kscreensaver.pamd.
|
||||||
The usual location to put these files is /etc/pam.d/. You may want to edit
|
The usual location to put these files is /etc/pam.d/. You may want to edit
|
||||||
the definitions in them to meet your needs. If the services are misconfigured,
|
the definitions in them to meet your needs, on BSD host for example you may
|
||||||
you will NOT be able to login via KDM and/or unlock a locked screen!
|
have to substitue "pam_unix.so" with "pam_bsdauth.so". If the services are
|
||||||
|
misconfigured, you will NOT be able to login via KDM and/or unlock a locked
|
||||||
|
screen!
|
||||||
|
|
||||||
|
To verify the configuration you can invoke kcheckpass directly and examine
|
||||||
|
its exit status. If it is not 0 when correct password is entered (if
|
||||||
|
password for the user is set) then you will have to thinker with the
|
||||||
|
configuration. kcheckpass is usually installed in /usr/libexec/kde4.
|
||||||
|
Authorization failure reason should be logged to /var/log/auth.log.
|
||||||
|
|
||||||
If there is ever any doubt about which PAM service a program was
|
If there is ever any doubt about which PAM service a program was
|
||||||
compiled with, it can be determined by examining the PAM-generated
|
compiled with, it can be determined by examining the PAM-generated
|
||||||
entries in the system log associated with kdm logins or kscreensaver
|
entries in the system log associated with kdm logins or kscreensaver
|
||||||
authentication failures.
|
authentication failures.
|
||||||
|
|
||||||
|
|
||||||
PAM configuration files have four types of entries for each service:
|
PAM configuration files have four types of entries for each service:
|
||||||
|
|
||||||
type used by kdm used by kscreensaver
|
type used by kdm used by kscreensaver
|
||||||
|
|
Loading…
Add table
Reference in a new issue