Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Das Minus in /etc/pam.d/system-login
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Thu Jun 13, 2013 7:50 am    Post subject: Das Minus in /etc/pam.d/system-login Reply with quote

Beim versuch etwas mehr über PAM zu lernen um es besser zu verstehen ist mir etwas aufgefallen zu dem ich bis jetzt noch keine Erklärung gefunden haben:
/etc/pam.d/system-login wrote:
...
-session optional pam_systemd.so
...
Kann mir einer sagen was das Minus vor dieser Zeile genau bewirkt?
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Thu Jun 13, 2013 8:48 am    Post subject: Reply with quote

man pam.conf -> unter eintrag "session" ->
Quote:
If the type value from the list above is prepended with a - character the PAM library will not log to the system log if it is not possible to load the module because it is missing in the system. This can be useful especially for modules which are not always installed on the system and are not required for correct authentication and authorization of the login session.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Thu Jun 13, 2013 8:52 am    Post subject: Reply with quote

Mein English ist leider ziemlich schlecht aber wenn ich das jetzt richtig verstanden habe geht es also nur um die Protokollierung darüber was dieses Modul macht, stimmt das so?
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Thu Jun 13, 2013 10:10 am    Post subject: Reply with quote

schmidicom wrote:
Mein English ist leider ziemlich schlecht aber wenn ich das jetzt richtig verstanden habe geht es also nur um die Protokollierung darüber was dieses Modul macht, stimmt das so?

Nein, es geht darum, dass das Fehlen den Modules nicht im Log vermerkt wird. Dies wird bei Modulen genutzt, die nicht immer auf dem System installiert sind, weil sie für die Authentifizierung nicht zwingend erforderlich sind.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1921
Location: Schweiz

PostPosted: Thu Jun 13, 2013 1:24 pm    Post subject: Reply with quote

Ok aber ist es dann nur das oder wird das Modul wenn vorhanden auch gleich benutzt/geladen?
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Thu Jun 13, 2013 3:42 pm    Post subject: Reply with quote

Wenn vorhanden, wird es auch genutzt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum