When a user logs in with SSH they are landed in a directory like this
Code:
/var/www/clients/client6/web7
1) Where does the .bashrc go? I tried putting it in the web7 directory but seems not to take effect.
I am using this as .bashrc (Copied from root):
Code:
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#2) After logging in is there a way to put them in their symlink home directory instead. E.g.
Code:
/var/www/domainname.com
Thanks
Recent comments
1 day 22 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 14 hours ago
2 days 15 hours ago
2 days 16 hours ago
3 days 8 hours ago
3 days 9 hours ago