LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2003, 01:17 PM   #1
figmentium
Member
 
Registered: Mar 2002
Location: Alberta, Canada
Distribution: Debian 4.0 Etch
Posts: 64

Rep: Reputation: 15
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.
 
Old 08-11-2003, 01:23 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Jusr restore the permisisons on the bash files in your homedir:
chown figment /home/figment/.bash*
chmod 700 /home/figment/.bash*
 
Old 08-11-2003, 04:20 PM   #3
figmentium
Member
 
Registered: Mar 2002
Location: Alberta, Canada
Distribution: Debian 4.0 Etch
Posts: 64

Original Poster
Rep: Reputation: 15
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
 
Old 08-11-2003, 04:27 PM   #4
figmentium
Member
 
Registered: Mar 2002
Location: Alberta, Canada
Distribution: Debian 4.0 Etch
Posts: 64

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem with BASH (FreeBSD 4.10) myrdd|n *BSD 9 02-18-2005 07:10 AM
strange error, cant login but su - works ! qwijibow Linux - Software 1 08-23-2004 09:47 AM
strange sed/bash behavior mpdavig Programming 1 07-24-2004 02:27 AM
A strange bash script kingsyl Linux - Newbie 2 07-13-2004 11:07 PM
Strange login error message Post Linux - General 2 04-25-2004 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration