View previous topic :: View next topic |
Author |
Message |
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Fri Sep 23, 2005 6:54 pm Post subject: user login klappt nicht |
|
|
Hallo zusammen,
ich verzweifele langsam. Die Gentoo Installation habe ich erfolgreich abgeschlossen. Der Xserver ist konfiguriert und funktioniert. Wenn ich das System boote kann ich mich als root an der Konsole anmelden.
Logge ich mich als normaler Benutzer ein wird die Session gleich wieder geschlossen. Folgende Meldung wird ausgegeben:
No directory /home/floris!
Habe bereits Buecher und Dokus gewaelzt und im Internet gesucht. Nix! Deshalb wende ich mich an Euch!
Habe mit chown das home directory dem user sowie auch der gruppe users zugeordnet. chmod hat mir auch ned weitergeholfen. Die Verzeichnisse sind also vorhanden.
Hat jemand eine Idee oder kennt das Problem?
Floris |
|
Back to top |
|
|
Anarcho Advocate
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Sat Sep 24, 2005 8:36 am Post subject: |
|
|
Bist du dir ganz sicher das das Verzeichnis da ist?
Poste dochmal den Output von:
ls -l /home/ _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 9:37 am Post subject: |
|
|
Hier die Ausgabe von ls -l /home:
drwxr-xr-x 2 floris users 4096 Sep 24 11:05 floris
drwx------ 2 users users 16384 Aug 15 21:33 lost+found |
|
Back to top |
|
|
Sumpfdrache Apprentice
Joined: 19 Jun 2004 Posts: 169
|
Posted: Sat Sep 24, 2005 11:00 am Post subject: |
|
|
Poste mal die betreffende Zeile aus /etc/passwd. _________________ Die Erkenntnis war wie ein Betonblock, der in den Treibsand seines Bewußtseins sank. |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 12:30 pm Post subject: |
|
|
/etc/paswd:
users:x:100:100:users:/home:/bin/bash
floris:x:1001:100::/home/floris:/bin/bash
und /etc/group:
users:x:100:users,floris |
|
Back to top |
|
|
Sumpfdrache Apprentice
Joined: 19 Jun 2004 Posts: 169
|
Posted: Sat Sep 24, 2005 1:20 pm Post subject: |
|
|
floris wrote: | /etc/paswd:
users:x:100:100:users:/home:/bin/bash
floris:x:1001:100::/home/floris:/bin/bash
und /etc/group:
users:x:100:users,floris |
Lösche die Zeile mit "users" in der passwd. Es braucht keinen user "users". Dadurch, daß Du ihn angelegt hast beansprucht er das komplette Home-Directory. Dann sollte es klappen.
[Edit]
Und schmeiß "users" auch aus der group, sodaß sie so aussieht:
[/Edit] _________________ Die Erkenntnis war wie ein Betonblock, der in den Treibsand seines Bewußtseins sank. |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 2:02 pm Post subject: |
|
|
hmm...Das Problem bleibt dasselbe. |
|
Back to top |
|
|
Sumpfdrache Apprentice
Joined: 19 Jun 2004 Posts: 169
|
Posted: Sat Sep 24, 2005 2:30 pm Post subject: |
|
|
Poste mal die Ausgabe von ls -l /
Vielleicht hat /home an sich falsche Rechte/Eigentümer. _________________ Die Erkenntnis war wie ein Betonblock, der in den Treibsand seines Bewußtseins sank. |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 2:37 pm Post subject: |
|
|
drwxr-xr-x 2 root root 4096 Sep 22 23:20 bin
drwxr-xr-x 4 root root 1024 Sep 4 01:50 boot
drwxr-xr-x 22 root root 30620 Sep 24 15:51 dev
drwxr-xr-x 2 root root 4096 Sep 18 19:58 dvd
drwxr-xr-x 48 root root 4096 Sep 24 15:45 etc
drwxrwxrwt 13 100 users 4096 Sep 24 15:42 home
drwxr-xr-x 8 root root 4096 Sep 23 18:30 lib
drwx------ 2 root root 16384 Aug 15 21:32 lost+found
drwxr-xr-x 5 root root 4096 Sep 18 19:58 mnt
drwxr-xr-x 13 root root 4096 Jul 30 15:00 opt
-rw-r--r-- 1 root root 19826837 Aug 15 22:25 portage-20050806.tar.bz2
-rw-r--r-- 1 root root 0 Aug 15 22:24 portage-latest.tar.bz2
dr-xr-xr-x 69 root root 0 Sep 24 15:44 proc
drwx------ 12 root root 4096 Sep 24 14:54 root
drwxr-xr-x 2 root root 4096 Sep 7 20:17 sbin
drwxr-xr-x 10 root root 0 Sep 24 15:44 sys
drwxrwxrwt 11 root root 4096 Sep 24 15:54 tmp
drwxr-xr-x 16 root root 4096 Sep 18 23:07 usr
drwxr-xr-x 13 root root 4096 Sep 18 23:06 var |
|
Back to top |
|
|
Sumpfdrache Apprentice
Joined: 19 Jun 2004 Posts: 169
|
Posted: Sat Sep 24, 2005 2:46 pm Post subject: |
|
|
Das "t" am Ende der Rechte von /home verwundert mich. Außerdem sollte /home root:root gehören.
Setz mal die Rechte so:
chown root:root /home
chmod 755 /home _________________ Die Erkenntnis war wie ein Betonblock, der in den Treibsand seines Bewußtseins sank. |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 3:20 pm Post subject: |
|
|
soweit ich weis steht ist 't' das sticky bit.
Habe alles gemacht wie Du gesagt hast. Aber leider kein Erfolg. |
|
Back to top |
|
|
EdtheRat Tux's lil' helper
Joined: 17 Sep 2005 Posts: 113 Location: Germany - in the middle of nowhere!
|
|
Back to top |
|
|
Anarcho Advocate
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Sat Sep 24, 2005 7:19 pm Post subject: |
|
|
Also einfach ein
chmod 755 /
Es sollte dann so aussehen:
Code: | workstation ~ $ ls -ld /
drwxr-xr-x 23 root root 4,0K 23. Jul 15:31 / |
_________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
|
floris n00b
Joined: 22 Sep 2005 Posts: 7
|
Posted: Sat Sep 24, 2005 7:33 pm Post subject: |
|
|
Wow! Das wars! chmod 755 / . Mir ist noch nicht ganz klar wo das Problem genau lag und warum es jetzt geht, werd' s aber noch nachschlagen.
Erstmal tausend Dank an alle Beteiligten.
Gruesse Floris |
|
Back to top |
|
|
Anarcho Advocate
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Sat Sep 24, 2005 7:40 pm Post subject: |
|
|
Das ist ganz einfach:
Um in ein spezielles Verzeichnis wechseln zu können brauchst du in allen übergeordneten Verzeichnissen das Ausführungsrecht.
Und das alleroberste Verzeichnis ist nunmal /. Wenn man dort keine Rechte hat, bleiben einem auch alle Unterverzeichnisse verwährt.
Und offensichtlich sind die Einstellungen im stage3-tarball wohl falsch. _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
|
|