[Eisfair] Nach (vermutlich) Base update kc3b6nnen sich user nicht mehr per ssh anmelden

Ansgar Püster ansgar.puester at netcologne.de
Fr Feb 3 15:03:11 CET 2017


Hallo,

Am 02.02.2017 um 23:14 schrieb Marcus Roeckrath:
> Hallo Helmut,

[...]

> Nun wurde am User nagios rumgespielt:
>
> Feb  2 19:47:24 eis1-g1 crontab[11939]: removing nagios's fcrontab
> Feb  2 19:47:24 eis1-g1 fcron[3588]: updating configuration
> from /var/spool/fcron
> Feb  2 19:47:25 eis1-g1 fcron[3588]: removing file nagios
> Feb  2 19:47:25 eis1-g1 userdel[11929]: delete user 'nagios'
> Feb  2 19:47:25 eis1-g1 groupdel[11970]: group 'nagios' removed
> from /etc/group
> Feb  2 19:47:25 eis1-g1 groupdel[11970]: group 'nagios' removed
> Feb  2 19:47:26 eis1-g1 groupadd[12018]: group added to /etc/group:
> name=nagios, GID=201
> Feb  2 19:47:26 eis1-g1 groupadd[12018]: new group: name=nagios, GID=201
> Feb  2 19:47:26 eis1-g1 useradd[12059]: new user: name=nagios, UID=2001,
> GID=201, home=/home/nagios, shell
> =/bin/false

Das nagios Paket erzeugt einen User nagios mit shell=/bin/false

Ein solcher User kann sich nicht via ssh anmelden!

> Feb  2 19:47:26 eis1-g1 passwd[12073]: password for 'nagios' changed by
> 'root'
>
> Und nun knallts:
>
> Feb  2 19:48:21 eis1-g1 sshd[12560]: pam_unix(sshd:auth): authentication
> failure; logname= uid=0 euid=0 tt
> y=ssh ruser= rhost=e1nagios.home.lan  user=nagios
> Feb  2 19:48:23 eis1-g1 sshd[12551]: error: PAM: Authentication failure for
> nagios from e1nagios.home.lan

[...]

Bitte mal überprüfen mittels
grep nagios /etc/passwd

Gruß,
Ansgar



Mehr Informationen über die Mailingliste Eisfair