Help with user login on Centos 5.6
        Posted  
        
            by 
                Owen
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Owen
        
        
        
        Published on 2011-06-17T14:39:00Z
        Indexed on 
            2012/11/07
            17:04 UTC
        
        
        Read the original article
        Hit count: 235
        
I added a user for the sole purpose of using SU for root. I did not allow the creation of a home directory when creating the user. So now when I login as this user I get the following:
Could not chdir to home directory /home/MYUSERNAME: No such file or directory
Couldn't resolve homedir for current user at - line 0
BEGIN failed--compilation aborted.
Couldn't resolve homedir for current user at - line 0
BEGIN failed--compilation aborted.
Is this an error, and if so how do I fix it so it is not looking to "resolve" the homedir?
© Server Fault or respective owner