[Eisfair] [e1] Nach Update - fcron-Fehler

Marcus Roeckrath marcus.roeckrath at gmx.de
Mo Dez 4 20:42:48 CET 2017


Hallo Tom,

Tom Schulz wrote:

>> hmm, wer will unix2 haben, benutzen wird eigentlich nicht mehr
> 
> Da gibts noch ein paar... :-)
> 
>> grep 'pam_unix2.so' /etc/pam.d/*
> 
> /etc/pam.d/fcron:account                required        pam_unix2.so
> /etc/pam.d/fcron:#auth          required        pam_unix2.so nullok
> /etc/pam.d/fcron:#session               required        pam_unix2.so
> /etc/pam.d/fcrontab:#auth               required        pam_unix2.so
> nullok
> /etc/pam.d/fcrontab:#session            required        pam_unix2.so

Sollte IMHO so aussehen:

eis # cat fcron
#
# The PAM configuration file for fcron daemon
#

account         required        pam_unix.so
# Warning : fcron has no way to prompt user for a password !
auth            required        pam_permit.so
#auth           required        pam_unix.so nullok
#auth           required        pam_env.so
session         required        pam_permit.so
#session                required        pam_unix.so
session         required        pam_loginuid.so

eis # cat fcrontab 
#
# The PAM configuration file for fcrontab
#

# WARNING : you cannot use every modules here, as some
#           (such as pam_unix_acct.so) require the program to be run
#           by root or suid root, and fcrontab is *not* suid root.

### By default we do not ask user for a password
auth            required        pam_permit.so
#auth           required        pam_unix.so nullok
#auth           required        pam_env.so

account         required        pam_permit.so
#account        required        pam_time.so

session         required        pam_permit.so
#session                required        pam_unix.so

und das schon über 2 Jahre:

eis # ls -la fc*
-rw-r--r-- 1 root root 344 Jan  3  2015 fcron
-rw-r--r-- 1 root root 506 Jan  3  2015 fcrontab

und auf meinen beiden Maschinen identisch.

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair