From 58453f4c603cffbe95506b19449e3a843d49b424 Mon Sep 17 00:00:00 2001 From: Matheus Date: Fri, 23 Sep 2022 22:47:19 -0300 Subject: [PATCH] distro files: passwd, profile, shell changes and move hello.sh --- distro-files/etc/init/shell | 2 +- distro-files/etc/init/shellenv | 1 - distro-files/etc/passwd | 1 + distro-files/etc/profile | 7 +++++++ distro-files/{etc => root}/hello.sh | 0 5 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 distro-files/etc/passwd create mode 100644 distro-files/etc/profile rename distro-files/{etc => root}/hello.sh (100%) diff --git a/distro-files/etc/init/shell b/distro-files/etc/init/shell index 693c6cb4..75b9f4ff 100644 --- a/distro-files/etc/init/shell +++ b/distro-files/etc/init/shell @@ -1 +1 @@ -/usr/bin/bash +/usr/bin/bash --login diff --git a/distro-files/etc/init/shellenv b/distro-files/etc/init/shellenv index 1635499d..9931476d 100644 --- a/distro-files/etc/init/shellenv +++ b/distro-files/etc/init/shellenv @@ -1,3 +1,2 @@ -HOME=/ PATH=/usr/bin/ TERM=linux diff --git a/distro-files/etc/passwd b/distro-files/etc/passwd new file mode 100644 index 00000000..68b7c4cd --- /dev/null +++ b/distro-files/etc/passwd @@ -0,0 +1 @@ +root::0:0:root:/root:/usr/bin/bash diff --git a/distro-files/etc/profile b/distro-files/etc/profile new file mode 100644 index 00000000..ccc39912 --- /dev/null +++ b/distro-files/etc/profile @@ -0,0 +1,7 @@ +NORMAL="\e[0m" +RED="\e[1;31m" +GREEN="\e[1;32m" +BLUE="\e[1;36m" +WHITE="\e[1;37m" +PS1="$GREEN\u$NORMAL@$BLUE\h$NORMAL:$WHITE\w$NORMAL>" + diff --git a/distro-files/etc/hello.sh b/distro-files/root/hello.sh similarity index 100% rename from distro-files/etc/hello.sh rename to distro-files/root/hello.sh