LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   what have i done?!? (https://www.linuxquestions.org/questions/linux-software-2/what-have-i-done-56364/)

wlfdgcrkz 04-22-2003 09:24 PM

what have i done?!?
 
what have i done to make bash start complaining "permission denied" whenn ever i try to su username? I used to be able t o switch users in any directory (not view only switch) w/out complaint. Now i get permission complainds even in users home directory. Any help would be greatly appreciated.
thanx

wlfdgcrkz 04-22-2003 09:25 PM

[root@linux jacob]# pwd
/home/jacob
[root@linux jacob]# su jacob
bash: /home/jacob/.bashrc: Permission denied
bash-2.05b$

320mb 04-22-2003 10:00 PM

well, I had probs with that version of Bash when I installed Slack 9, so I just took that one out and put in V.2.05a.
now all is kosher!

Aussie 04-22-2003 10:12 PM

What does 'ls -l /home/jacob/.bashrc' show?

wlfdgcrkz 04-22-2003 10:32 PM

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

wlfdgcrkz 04-22-2003 10:34 PM

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

m0rl0ck 04-23-2003 02:08 AM

chown jacob.jacob /home/jacob/.bashrc



???


All times are GMT -5. The time now is 12:19 AM.