Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
user login klappt nicht
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Fri Sep 23, 2005 6:54 pm    Post subject: user login klappt nicht Reply with quote

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
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Sat Sep 24, 2005 8:36 am    Post subject: Reply with quote

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
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Sumpfdrache
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 169

PostPosted: Sat Sep 24, 2005 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 12:30 pm    Post subject: Reply with quote

/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
View user's profile Send private message
Sumpfdrache
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 169

PostPosted: Sat Sep 24, 2005 1:20 pm    Post subject: Reply with quote

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:
Code:

users:x:100:floris

[/Edit]
_________________
Die Erkenntnis war wie ein Betonblock, der in den Treibsand seines Bewußtseins sank.
Back to top
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 2:02 pm    Post subject: Reply with quote

hmm...Das Problem bleibt dasselbe.
Back to top
View user's profile Send private message
Sumpfdrache
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 169

PostPosted: Sat Sep 24, 2005 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sumpfdrache
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 169

PostPosted: Sat Sep 24, 2005 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 3:20 pm    Post subject: Reply with quote

soweit ich weis steht ist 't' das sticky bit.

Habe alles gemacht wie Du gesagt hast. Aber leider kein Erfolg.
Back to top
View user's profile Send private message
EdtheRat
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2005
Posts: 113
Location: Germany - in the middle of nowhere!

PostPosted: Sat Sep 24, 2005 6:28 pm    Post subject: Reply with quote

Hallo!
Wie hast Du installiert, bzw. welches stage?
Bei einer Stage 3 mußt Du noch folgendes machen: s. link http://www.gentoo.de/doc/de/handbook/handbook-x86.xml?part=1&chap=5
Sektion: Entpacken des Stagearchives
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Sat Sep 24, 2005 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
floris
n00b
n00b


Joined: 22 Sep 2005
Posts: 7

PostPosted: Sat Sep 24, 2005 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Sat Sep 24, 2005 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum