Find the answer to your Linux question:
Results 1 to 9 of 9
my main user, not root..is missing its home directory or something...when i try to log in...it says No directory /home/xxxx...however...the actual directory is still there...and when i try to log ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    5

    No home directory?

    my main user, not root..is missing its home directory or something...when i try to log in...it says No directory /home/xxxx...however...the actual directory is still there...and when i try to log in by from root using "su xxxx" it says bin/bash permission denied...

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Three pieces of info would go a long way in helping you solve this problem. (Just copy and paste the results of the commands here.)

    1. ls -l /bin/bash

    2. ls -ld /home/your_user_here

    3. grep 'your_user_here' /etc/passwd

    In #2 and #3, substitute your_user_here with the user account you're having trouble with.

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    5
    Quote Originally Posted by anomie
    Three pieces of info would go a long way in helping you solve this problem. (Just copy and paste the results of the commands here.)

    1. ls -l /bin/bash

    2. ls -ld /home/your_user_here

    3. grep 'your_user_here' /etc/passwd

    In #2 and #3, substitute your_user_here with the user account you're having trouble with.
    i did the above and this was the output:

    1) -rwxr-xr-x 1 root root 501804 Jun 2 10:34 /bin/bash

    2) drwx------ 25 ryan users 1624 Nov 2 15:11 /home/ryan

    note: i chmod'd this to 700 for no particular reason...just seeing if i could fix it..lol..which i didnt.

    3) ryan: x:1000:100: Ryan B:/home/ryan:/bin/bash

    note: space added cause of dumb smilies lol.

  4. #4
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    It's pretty strange. Was this ever working (and then stopped)? Or was it always broken following the install?

    What happens if you create a new user? Same problem?

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    5
    yes, it was working for a long time, then i chmod'd a user permission, and i tried to log into another using using "su xxxxx", and it said bin/bash/ permission denied....and it was doing that for ALL the users...i could only log into root..so i closed the Konsole terminal...and went to re-open it..figuring it was maybe bugged...and when i clicked on Konsole to open it again...it said something like, "Konsole is malformed", and it wouldnt open. so i was going to restart the computer...and i went to log off, and the window that popped up when i clicked it was a grey box, and it had 2 buttons...on each button was a bunch of [][][][][][][][][][][][] boxes, as if it was trying to display something in a font i didnt have?...then i clicked one, and the computer went into a blue GUI log in screen...where i was prompted to type in a username, and a password...when i entered my normal non-root user name / password...and it accepted the password, loaded a bit, switched to console for a second, and returned to the GUI log in...so then i tried root username/password...and it brings me to the YaST2 control center...if i user console to log in, only root works if i try anything else it will say permission denied, if i try my main non-root user, it says no directory /home/ryan...*deep breath*

  6. #6
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    returned to the GUI log in...so then i tried root username/password...and it brings me to the YaST2 control center
    Maybe just create a new user from there. Then log in as that new user. Not the most elegant way out of this, but hopefully it'll work.

  7. #7
    Just Joined!
    Join Date
    Nov 2006
    Posts
    5
    yes but i dont think that will that fix me not being able to log into ANY other users?

  8. #8
    Just Joined!
    Join Date
    Nov 2006
    Posts
    5
    so i tried making a new user, but it didnt work because i cant log into it anyways.. *cries*

  9. #9
    Just Joined!
    Join Date
    Sep 2006
    Posts
    12

    No title, just answer

    Probably you will need to reinstall the system. If you do not like to reinstall the system create directory manyallu like:

    mkdir /home/[your name]

    You can assign your uses to use this directory as a home directory with Yast and then coose the user and then choose home directory for the user. You can do it in command line also. Just see how works 'adduser'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...