diff --git a/Makefile b/Makefile index 736a8a5..d2c0ba6 100644 --- a/Makefile +++ b/Makefile @@ -2,3 +2,8 @@ all: gcc exec.c -DCONTROL_CH -Werror -pedantic -o exec debug: gcc exec.c -DCONTROL_CH -DDEBUG -Werror -pedantic -o exec + +nochannel: + + gcc exec.c -DDEBUG -Werror -pedantic -o exec + diff --git a/bootstrap.sh b/bootstrap.sh index 59d737c..0ff901a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -63,5 +63,14 @@ user:x:0: END tar cf - -C $BASE/extra . | tar xf - +mkdir $NEW/home/user/test +tar cf - -C $BASE/test . | tar xf - -C $NEW/home/user/test/ + +cat > etc/bash.bashrc << END +export HOME=/home/user +export PS1='[\u@\h \W]\$ ' +END + chown -f -R root:root etc/ || /bin/true -chown 1000:1000 home/user +chown -R 1000:1000 home/user + diff --git a/test/highlevel_directory.c b/test/highlevel_directory.c deleted file mode 100644 index 907a878..0000000 --- a/test/highlevel_directory.c +++ /dev/null @@ -1,17 +0,0 @@ - -#include <stdio.h> - -int main(){ - - FILE* f; - - f=fopen("../dummy","r"); - - if(f!=NULL) return -1; - - fclose(f); - - return 0; - -} -