LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   strange bash login error (https://www.linuxquestions.org/questions/linux-newbie-8/strange-bash-login-error-81013/)

figmentium 08-11-2003 01:17 PM

strange bash login error
 
Hi,

This started happening recently and I haven't done anything differnet to my system... that I know of lol :(

I have a RedHat 7.3 Linux box and I was logging in and I got this strange error.

Last login: Mon Aug 11 11:46:18 2003 from <ip address here>
Could not chdir to home directory /home/figment: Permission denied
bash: /home/figment/.bash_profile: Permission denied
bash-2.05a$

I've never seen the bash-2.05a$ before and not really sure why this is happening?

I used the login for a ventrilo server and to run the BX IRC program.

Could I have been hacked or something? I've chmodded and chowned to get it to work again but I am wondering why this is happening in the first place.

There is also a webserver on the machine and it is functioning normally... so is the ventrilo server.

david_ross 08-11-2003 01:23 PM

Jusr restore the permisisons on the bash files in your homedir:
chown figment /home/figment/.bash*
chmod 700 /home/figment/.bash*

figmentium 08-11-2003 04:20 PM

ya do that, and it works, but its wierd cause every new user i make, i have to do that to it....

it was fine before...

is there a way to fix the source? so every user has the proper permissions?

what should the /home dir be set at?

thanks. ;D

figmentium 08-11-2003 04:27 PM

ok nevermind LOL I think i finally figured it out

for some reason my /home dir was set for one of my users
and the wrong chmod on it

:O ugh i cant believe how stupid a mistake i made lol

i think i fixed it... i'll spare others of my nubness :P


All times are GMT -5. The time now is 05:49 PM.