Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Friends, Actually I am working as a System admin..My issue is when a user trying to login with a newly created login..its not logging in..but he is able to ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36

    unable to login through GUI

    Hi Friends,

    Actually I am working as a System admin..My issue is when a user trying to login with a newly created login..its not logging in..but he is able to login with the root account and also other user accounts..but only 1 particular account is not getting looged in...What i did is just created a new login and copied the contents to that profile....Is there any fix for it...It seems to the bash profile got corrupted..Kindly reply?
    Thank you

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    You copied "the contents"?
    Do you mean, you copied another home directory to this user´s home?

    Then have a look at the uid of the copied files and directories, including the hidden ones.

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    most likely (I think it was hinted at by Irithori) your permissions are not right for the user trying to log in. try

    chown -R USERID:USERID ~USERID

    replacing USERID with that user's ID. this says, to change ownership recursively to the user, and groupid of USERID, to USERID's home directory (and all subfiles/directories.)

    It's also wise to then do
    chmod 700 ~USERID

    unless you specificaly need other users to have access.

    also an obvious DUH would be to change the user's password, make sure it is good.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    36
    Actually what i did was..i renamed the username..using
    usermod -l newusername oldusername

    then i used
    mv oldusername newusername

    ..it was working..but i am not sure is this the right way

    ..

Posting Permissions

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