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 |
[root@linux jacob]# pwd
/home/jacob [root@linux jacob]# su jacob bash: /home/jacob/.bashrc: Permission denied bash-2.05b$ |
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! |
What does 'ls -l /home/jacob/.bashrc' show?
|
# .bashrc
# User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi |
# .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 |
chown jacob.jacob /home/jacob/.bashrc
??? |
All times are GMT -5. The time now is 12:19 AM. |