Login problems
I am a Slackware newbie. I am running Slackware 12.1 with XFCE4.2 as grafical environment, default runlevel 4. I can login as user, only when I first log in as root. When I try to log in as user first, I get thrown back to the login screen. I checked the permissions of my home-directory and my temp-directory, and they look allright according to other threads on this forum. How can I let the users of my machine login without beeing dependent of me as root?
|
I'm not sure which threads you're talking about for permissions of /home, /home/* and /tmp. Can you post the output of this command please?
Code:
ls -ld /home /home/* /tmp |
I checked /etc/passwd and as far as I can see (I have only limited knowledge on linux yet) everything looks fine there. About the command ls -ld /home /home/* /tmp I get the following message:
drwxr-xr-x 6 root root 4096 2008-08-08 21:14 /home drwxr-xr-x 2 root root 4096 2006-08-07 03:50 /home/ftp drwxr-x--- 33 hans users 4096 2008-08-27 07:41 /home/hans drwxr-x--- 26 ik users 4096 2008-08-12 20:42 /home/ik drwxr-x--- 18 mathijssux users 4096 2008-08-26 18:51 /home/mathijssux drwxrwxrwt 23 root root 4096 2008-08-27 07:53 /tmp Is there something wrong, or is it as it is supposed to be? And what to do next? Thanks for the reply! |
I don't know about slackware, but 700 is a more standard permission for a user's home directory.
|
It's true that 0700 is preferable for a /home/user type directory, but it shouldn't be stopping XFCE from running. Can you confirm that everything in the user's directory is owned by that user with something like this?
Code:
chown -Rc hans /home/hans |
Quote:
|
Problem is suddenly solved. After the system performed a systemcheck, being mounted 38 times. I don't know what did the trick or what I did wrong, but thanks for your answers on my issue. I will set the permissions as it is supposed to be in a standard Slackware installation. Thanks again!
|
Now I know where I went wrong. There was simply to much stuff in my tmp/ directory. I wrote a script from one of the threads on this forum for a rc.local_shutdown to empty the directory every time I shutdown my machine, and now it runs perfectly.
|
All times are GMT -5. The time now is 04:59 PM. |