Seite 1 von 1

logwatch + password changed for pcpatch

Verfasst: 28 Okt 2014, 13:35
von EricT
Hello,

logwatch of our opsi-server frequently reports entries in pam_unix like:
chpasswd:
Unknown Entries:
password changed for pcpatch: 1 Time(s)

Is this expected opsi-behavior and, if so, what process is triggering the password change?
Could it be that the password is changed because a new client is added to the database?

Thanks.

Regards, Eric

Re: logwatch + password changed for pcpatch

Verfasst: 28 Okt 2014, 17:32
von n.wenselowski
Hello Eric,

this probably is the result of opsi-admin -d task setPcPatchPassword. Could it be that someone set this up in your crontab or the like?
If you add a new client to the database it should not trigger setting the password for pcpatch. If it does so it probably is a bug.

What OS are you running with what version of opsi?


with kind regards

Niko

Re: logwatch + password changed for pcpatch

Verfasst: 30 Okt 2014, 16:27
von EricT
Hi Niko,

thanks for your reply.

OS-version: Debian 2.6.32-48squeeze4
OPSI-version:
opsi-atftpd 0.7.dfsg-2.1
opsi-configed 4.0.4.1.2-4
opsi-depotserver 4.0.4.4-1
opsi-linux-bootimage 20140118-1
opsi-utils 4.0.4.1-2
opsiconfd 4.0.4.3-1
opsipxeconfd 4.0.4.1-2
python-opsi 4.0.4.5-2

Is it possible that the password change occurs when running commands like:
opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart

Regards, Eric

Re: logwatch + password changed for pcpatch

Verfasst: 03 Nov 2014, 11:00
von n.wenselowski
Hello Eric,
EricT hat geschrieben:Is it possible that the password change occurs when running commands like:
opsi-setup --init-current-config
opsi-setup --set-rights
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
From all of these commands, only the first one (opsi-setup --init-current-config) implicitly sets the pcpatch password.


With kind regards

Niko