You are not logged in.
Pages: 1
I'm freaking out here, I can't log into my system, something went terribly wrong.
Whenever I try to log in I get "unable to cd to /home/my_username".
I looked at the permissions on the home folder and they seemed correct:
drwx------ my_username users
So the owner has full read,write and execute permissions and the owner is who the owner is supposed to be, yet I can't login.
I then deleted the user, purged that home directory, and created the user again (with the same UID, but it shouldn't matter)
I still couldn't log in. Now this is strange. I checked permissions on the /home folder itself, and they are:
drwxr-xr-x root root
So that seems to be ok too. What am I missing, why can't I log in?
Last edited by moljac024 (2009-12-17 20:03:42)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
is your /home mounted?
Mr Green
Offline
Can you log in as root? If so, can you do "su user_name" to access the account that way?
Offline
It seems you are missing an (executable permission) x for your user on the tenth position.
Offline
I can log in as root and "su username" gives the same message.
I tried chmod -R 777 /home/username and still got the same message??
I have noticed that when I delete the user, and create it again, for some reason it's not added to the users group. (I get that from looking at /etc/group). But even if I add the user to the group by directly modifying /etc/group it still doesn't work.
I'm really stumped...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Try a "usermod -g users username" as root.
Offline
Try a "usermod -g users username" as root.
Tried it. No luck. What I'm worried about is how the blazes can't it cd to the home dir when permission are 777 ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Did you read foutrelis' post?
Offline
Just to dot the is and cross the ts, could you post the output of ls -la ~?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
I solved it, I think.
The execute permission seems to have been taken out from the . and .. folders on / and the group was switched to users.
I believe thunar did this, since I was using it to change some permissions and it seems it bugged out and caused that havoc.
EDIT: Thanks for the help everyone.
I would also recommend to people: NEVER use thunar or anything like as root that to change permissions on your system.
Last edited by moljac024 (2009-12-17 20:03:24)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Although I'm a little troubled by the "users not appearing in the users group after creation" situation. Any idea what might be up with that? Maybe something is still wrong somewhere that could cause me trouble further down the road?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
how did you created the user?
i always use
useradd -m username -d /home/username
and all works fine. Seems that you made something different^^
Offline
> Any idea what might be up with that?
I've told you, you should keep an eye on your cat.
If you add a user to a group, they should be there. Some people are reporting group.pacnew "problems" - maybe this is it?
http://bbs.archlinux.org/viewtopic.php?id=86938
Last edited by karol (2009-12-17 20:19:58)
Offline
I was adding users with adduser (the interactive script).
I actually reinstalled Arch a couple of days ago as I wanted to start using LVM, so it's a fresh install.
I took the chance to try Linux Mint and I caved in after 20 minutes
Last edited by moljac024 (2009-12-17 20:58:25)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Pages: 1