Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help !!!! falsche Rechte unter /etc

0 views
Skip to first unread message

Marcel Boy

unread,
Mar 7, 2006, 5:52:51 PM3/7/06
to
Hallo bitte helft mir,


durch irgend eine Dummheit habe ich die Berechtigungen des /etc - Ordners
geändert.

Jetzt fährt der Eisserver nicht mehr richtig hoch.

Mit root kann ich mich nicht mehr einlogen, Telnet geht auch nicht mehr :-(.

An der Boot-Konsole meckert der Eis, das die Rechte von "ssh_host_key" zu
gut sind
und startet deshalb ssh nicht.

Wie müssen die Rechte dieser Keys sein?

Ich habe die Platte jetzt an einer Suse-Büchse gemountet und versuche jetzt
die Rechte wieder
herzustellen.

Kann mir jemand ein Paar Tips geben?


Gruß


Marcel


Roman Gesenhues

unread,
Mar 7, 2006, 6:04:20 PM3/7/06
to
Hi Marcel!

Marcel Boy schrieb:
> Hallo bitte helft mir,
gerne doch ...

> An der Boot-Konsole meckert der Eis, das die Rechte von "ssh_host_key" zu
> gut sind
> und startet deshalb ssh nicht.
>
> Wie müssen die Rechte dieser Keys sein?

-rw------- 1 root root ssh_host_dsa_key
-rw-r--r-- 1 root root ssh_host_dsa_key.pub
-rw------- 1 root root ssh_host_key
-rw-r--r-- 1 root root ssh_host_key.pub
-rw------- 1 root root ssh_host_rsa_key
-rw-r--r-- 1 root root ssh_host_rsa_key.pub

-rw------- = 600
-rw-r--r-- = 644

>
> Ich habe die Platte jetzt an einer Suse-Büchse gemountet und versuche jetzt
> die Rechte wieder
> herzustellen.
>
> Kann mir jemand ein Paar Tips geben?

chmod 6?? ssh_host_$blubb

>
> Gruß
> Marcel
>

Grüße,
Roman

Marcel Boy

unread,
Mar 7, 2006, 6:43:36 PM3/7/06
to
Danke, Server läuft wieder.


Ich habe jetzt nur noch ein nerviges Problem.

An der Server Konsole kommt alle 30 Sekunden eine nervige Fehlermeldung:

Zitat: "Insecure directory in $ENV{PATH} while running with -T switch at
/usr/share/perl/5.6.1/Cwd.pm Line 17"


Kann mir hier jemand eine Lösung geben.


Gruß


Marcel


Juergen Edner

unread,
Mar 8, 2006, 1:49:20 AM3/8/06
to
Hallo Marcel,

> Zitat: "Insecure directory in $ENV{PATH} while running with -T switch at
> /usr/share/perl/5.6.1/Cwd.pm Line 17"

hast Du zufällig das antispam-Paket installiert?
Wenn ja, dann kann ich mich an eine entsprechende
Fehlermeldung erinnern.

Gruß Jürgen
--
Mail: fli4l-...@telejeck.de

Stefan Heidrich

unread,
Mar 8, 2006, 2:18:22 AM3/8/06
to
Hallo Marcel,

> durch irgend eine Dummheit habe ich die Berechtigungen des /etc -
> Ordners geändert.

Eine Liste meines /etc hängt an.

Viele Grüße
Stefan

eis-squid # ls -l
total 708
-rw-r--r-- 1 root root 46 Mar 8 06:08 adjtime
-rw-r--r-- 1 root root 1996 Mar 2 13:13 aliases
-rw-r--r-- 1 root root 1630 Jun 18 2004 aliases.std
-rw-r--r-- 1 root root 5 Jun 20 2005 at.allow
drwx------ 2 root root 4096 Feb 6 12:28 backup.d
-rw-r--r-- 1 root root 4368 Oct 27 2001 boot.b
-rw-r--r-- 1 root root 395 Dec 2 12:42 capi.conf
drwx------ 2 root root 4096 Mar 2 13:19 check.d
-rw-r--r-- 1 root root 2364 Sep 15 2000 chpasswd.conf
drwx------ 2 root root 4096 Mar 2 13:19 config.d
drwxr-xr-x 2 root root 4096 Nov 3 12:40 default
drwx------ 2 root root 4096 Mar 2 13:19 default.d
drwxr-xr-x 2 root root 4096 Mar 2 13:15 errors
-rw------- 1 exim trusted 344 Mar 2 13:13 exim-localdomains
-rw------- 1 exim trusted 331 Mar 2 13:13 exim-relayfromhosts
-rw------- 1 exim trusted 321 Mar 2 13:13 exim-relaytodomains
-rw-r----- 1 root fcron 664 Apr 5 2002 fcron.conf
drwxr-xr-x 2 root root 4096 Mar 2 13:19 filelist.d
-rw-r--r-- 1 root root 346 Mar 14 2005 fstab
-rw-r--r-- 1 root root 0 Jan 26 2005 ftpusers
-rw-r--r-- 1 root root 135 Jun 20 2005 group
-rw-r--r-- 1 root root 108 Mar 14 2005 group.old
-rw-r--r-- 1 root root 26 Jul 7 2000 host.conf
-rw-r--r-- 1 root root 67 Mar 2 13:21 hosts
-rw-r--r-- 1 root root 375 Mar 1 2005 hosts.allow
-rw-r--r-- 1 root root 372 Mar 1 2005 hosts.deny
drwxr-xr-x 2 root root 4096 Mar 2 13:15 icons
drwxr-xr-x 3 root root 4096 Mar 2 13:19 init.d
-rw-r--r-- 1 root root 1581 Jan 13 08:45 inittab
-rw-r--r-- 1 root root 166 Dec 27 16:00 inittab.agetty
-rw------- 1 root root 1055 Jan 1 1990 inittab.backup
-rw-r--r-- 1 root root 1055 Jan 26 2005 inittab.std
-rw-r--r-- 1 root root 740 Sep 9 2004 inputrc
-rw------- 1 root root 60 Mar 2 13:21 ioctl.save
drwxr-xr-x 2 root root 4096 Jan 13 08:45 iproute2
-rw-r--r-- 1 root root 102 Aug 25 2003 issue
drwxr-xr-x 3 root root 4096 Jan 13 08:45 joe
-rw-r--r-- 1 root root 8168 Mar 2 13:18 ld.so.cache
-rw-r--r-- 1 root root 28 Aug 5 2004 ld.so.conf
-rw-r--r-- 1 root root 170 Jan 26 2005 lilo.conf
-rw-r--r-- 1 root root 1471 Apr 24 2005 locale.alias
-rw-r--r-- 2 root root 755 Dec 18 2001 localtime
-rw-rw-r-- 1 root root 4557 Jun 11 2005 login.defs
-rw-r--r-- 1 root root 1999 Oct 19 07:28 logindevperm
-rw-rw-r-- 1 root root 332 Apr 5 2002 logrotate.conf
drwxrwxr-x 2 root root 4096 Mar 2 13:13 logrotate.d
-rw-r--r-- 1 root root 334 Mar 2 13:13 mail.rc
-rw-rw-r-- 1 root root 3796 Dec 27 16:00 menu.conf
-rw-r--r-- 1 root root 26104 Jun 1 2004 mib.txt
-rw-r--r-- 1 root root 11651 Feb 26 2004 mime.conf
-rw-r--r-- 1 root root 132839 Jan 24 2005 moduli
-rw-r--r-- 1 root root 195 Nov 1 16:36 monitoring.footer
-rw-r--r-- 1 root root 133 Nov 1 16:36 monitoring.header
-rw-rw-r-- 1 root root 0 Aug 9 2001 motd
-rw-r--r-- 1 root root 174 Mar 2 13:22 mtab
-rw-r--r-- 1 root root 1447 Jun 23 2001 mtools.conf
-rw-r--r-- 1 root root 465 Oct 27 2001 nsswitch.conf
-rw-r--r-- 1 root root 534 May 16 2001 pam.conf
drwxr-xr-x 2 root root 4096 Mar 2 13:15 pam.d
-rw-r--r-- 1 root root 565 Jun 20 2005 passwd
-rw-r--r-- 1 root root 515 Jun 20 2005 passwd.old
-rw-r--r-- 1 root root 1431 Jan 13 08:45 profile
-rw-r--r-- 1 root root 595 Jul 6 2000 protocols
-rw-r----- 1 root root 2056 Mar 16 2003 pureftpd.pdb
drwxr-xr-x 2 root root 4096 Jan 26 2005 rc0.d
drwxr-xr-x 2 root root 4096 Mar 2 13:15 rc2.d
drwxr-xr-x 2 root root 4096 Jan 26 2005 rc6.d
drwxr-xr-x 2 root root 4096 Jan 26 2005 rcS.d
-rw-r--r-- 1 root root 46 Mar 2 13:22 resolv.conf
-rw-rw-r-- 1 root root 94 Jun 11 2005 rpasswd.conf
-rw-r--r-- 1 root root 106 Mar 1 2001 screenrc
-rw-r--r-- 1 root root 362 Oct 31 20:00 securetty
drwxr-xr-x 2 root root 4096 Nov 3 12:40 security
-rw-r--r-- 1 root root 7944 Mar 2 13:13 services
-rw------- 1 root root 7944 Jan 19 12:01 services.backup
-rw-r--r-- 1 root root 743 Mar 2 13:13 services.mail
-rw-r--r-- 1 root root 6910 Jan 26 2005 services.std
-rw------- 1 root root 401 Jun 20 2005 shadow
-rw------- 1 root root 389 Jun 20 2005 shadow.old
-rw-r--r-- 1 root root 31 Aug 25 2003 shells
-rw-r--r-- 1 root root 501 Nov 3 13:15 smartd.conf
-rw-r----- 1 root root 121524 Mar 2 13:15 squid.conf
-rw-r--r-- 1 root root 1050 May 23 2005 ssh_config
-rw------- 1 root root 668 Jan 26 2005 ssh_host_dsa_key
-rw-r--r-- 1 root root 598 Jan 26 2005 ssh_host_dsa_key.pub
-rw------- 1 root root 523 Jan 26 2005 ssh_host_key
-rw-r--r-- 1 root root 327 Jan 26 2005 ssh_host_key.pub
-rw------- 1 root root 883 Jan 26 2005 ssh_host_rsa_key
-rw-r--r-- 1 root root 218 Jan 26 2005 ssh_host_rsa_key.pub
-rw-r--r-- 1 root root 3122 Mar 2 13:13 sshd_config
-rw-r--r-- 1 root root 2632 Jan 26 2005 sshd_config.invalid
-r--r----- 1 root root 278 Aug 17 2003 sudoers
-rw-r--r-- 1 root root 373 Mar 2 13:22 syslog.conf
lrwxrwxrwx 1 root root 17 Jan 26 2005 terminfo -> /usr/lib/terminfo
-rw-r--r-- 1 root root 258 Aug 8 2001 ttytype
-rw-rw-r-- 1 root root 6 Jan 14 14:00 version
-rw-rw-r-- 1 root root 4784 Dec 27 16:00 vimrc
-rw-r--r-- 1 root root 56 Mar 2 13:21 wgetrc
-rw-r--r-- 1 root root 67 May 23 2005 xinetd.conf
drwxr-xr-x 2 root root 4096 Mar 2 13:13 xinetd.d
-rw-r--r-- 1 root root 7431 Dec 2 12:43 yaps.rc


Message has been deleted

Marcel Boy

unread,
Mar 8, 2006, 2:56:52 PM3/8/06
to

"> hast Du zufällig das antispam-Paket installiert?
> Wenn ja, dann kann ich mich an eine entsprechende
> Fehlermeldung erinnern.

Ja, habe ich.

Ich habe auch schon diesen Beitrag im
http://lists.spline.de/pipermail/eisfair_dev/
gefunden.

Nur ist die Ursache bei mir eine andere.
Ich habe mir die Rechte im /etc und /usr Verzeichnis zerschossen.

Wie bekomme ich das wieder hin?

Kann ich Perl deinstallieren und anschließend neu installieren?

Welche Berechtigungen muß das Perl-Verzeichnis
oder andere für diesen Fehler verantwortliche Dateien haben?

MfG


Marcel


0 new messages