From: thierry Date: Thu, 14 Jun 2007 11:51:24 +0000 (+0000) Subject: provides .profile for both root context and chroot jail X-Git-Tag: foo~463 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7a454dfa8d89e2b7958989d1c06647a0776624d1;p=infrastructure.git provides .profile for both root context and chroot jail --- diff --git a/tunings-myplc/dot-profile b/tunings-myplc/dot-profile index f2e1a45..80cabb5 100644 --- a/tunings-myplc/dot-profile +++ b/tunings-myplc/dot-profile @@ -1,9 +1 @@ -export PS1=" $PS1" -alias d=dirs -alias g=pushd -alias b=popd -alias j=jobs -alias h=history - -alias sql='psql --user=pgsqluser planetlab4' -alias api='cd /usr/share/plc_api' +alias plc='chroot /plc/root su -' diff --git a/tunings-myplc/dot-profile-chroot b/tunings-myplc/dot-profile-chroot new file mode 100644 index 0000000..f2e1a45 --- /dev/null +++ b/tunings-myplc/dot-profile-chroot @@ -0,0 +1,9 @@ +export PS1=" $PS1" +alias d=dirs +alias g=pushd +alias b=popd +alias j=jobs +alias h=history + +alias sql='psql --user=pgsqluser planetlab4' +alias api='cd /usr/share/plc_api'