[erledigt] Problem mit SSH (falsche Rechte?)

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
pixelflat
Beiträge: 155
Registriert: 23.02.2007 22:35:06
Lizenz eigener Beiträge: MIT Lizenz

[erledigt] Problem mit SSH (falsche Rechte?)

Beitrag von pixelflat » 01.11.2008 23:17:27

Nabend,
ich habe ein Problem mit dem SSH-Server (OpenSSH):

Code: Alles auswählen

Starting OpenBSD Secure Shell server: sshd/var/run/sshd must be owned by root and not group or world-writable.
Die Rechte von entsprechenden Verzeichnissen habe ich allerdings nicht geändert - soweit ich weiss, also jedenfalls nicht bewusst :wink:

ls -l /var/run/ zeigt auch an, dass root der Besitzer von sshd ist.

Code: Alles auswählen

insgesamt 76
srw-rw-rw- 1 root        root           0 2008-11-01 23:02 acpid.socket
drwxrwxrwx 2 root        root        4096 2008-11-01 23:02 apache2
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 apache2.pid
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 atd.pid
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 crond.pid
---------- 1 root        root           0 2008-11-01 23:02 crond.reboot
drwxrwxrwx 2 Debian-exim Debian-exim 4096 2008-11-01 20:41 exim4
drwxrwxrwx 2 identd      nogroup     4096 2008-09-20 23:19 identd
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 inetd.pid
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 klogd.pid
-rw-r--r-- 1 root        root         357 2008-11-01 23:02 motd
drwxrwxrwx 2 mysql       root        4096 2008-11-01 23:02 mysqld
drwxrwxrwx 2 root        root        4096 2008-11-01 23:02 network
-rw-r--r-- 1 root        root           4 2008-11-01 23:02 ntpd.pid
-rw-r--r-- 1 statd       root           5 2008-11-01 23:02 rpc.statd.pid
drwxrwxrwx 2 root        root        4096 2008-11-01 23:02 samba
drwxrwxrwx 4 root        utmp        4096 2008-09-21 05:01 screen
drwxr-sr-x 5 root        smmta       4096 2008-11-01 20:41 sendmail
drwxrwxrwx 2 root        root        4096 2008-05-14 19:18 sshd
-rw-r--r-- 1 root        root           5 2008-11-01 23:02 syslogd.pid
-rw-rw-r-- 1 root        utmp        3840 2008-11-01 23:13 utmp
Testweise habe ich mal den openssh-server neu installiert, aber das wird mit der selben Meldung abgebrochen.

Was muss ich tun? :?
Zuletzt geändert von pixelflat am 01.11.2008 23:33:32, insgesamt 1-mal geändert.

pixelflat
Beiträge: 155
Registriert: 23.02.2007 22:35:06
Lizenz eigener Beiträge: MIT Lizenz

Re: Problem mit SSH (falsche Rechte?)

Beitrag von pixelflat » 01.11.2008 23:33:17

Hm, ok - hat sich erledigt.

Code: Alles auswählen

/etc/init.d/ssh stop
aptitude remove openssh-server
aptitude install openssh-server
:)

Antworten