From 2037e71c08716199d5adb258749f7906cd9ee9e7 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 12 May 2015 15:17:42 +0000 Subject: [PATCH] install --- INSTALL.md | 42 ++++++++++++++++++++++++++++++++++++++++++ cowrie.cfg.dist | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 INSTALL.md diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 00000000..cbef6853 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,42 @@ +# Installation + +Installing cowrie in six easy steps. +It's recommended to install under a separate non-root user id: + +``` +$ sudo adduser --disabled-password cowrie +Adding user `cowrie' ... +Adding new group `cowrie' (1002) ... +Adding new user `cowrie' (1002) with group `cowrie' ... +The home directory `/home/cowrie' already exists. Not copying from `/etc/skel'. +Changing the user information for cowrie +Enter the new value, or press ENTER for the default +Full Name []: +Room Number []: +Work Phone []: +Home Phone []: +Other []: +Is the information correct? [Y/n] + +$ sudo su - cowrie + +$ git clone http://github.com/micheloosterhof/cowrie +Cloning into 'cowrie'... +remote: Counting objects: 2965, done. +remote: Compressing objects: 100% (1025/1025), done. +remote: Total 2965 (delta 1908), reused 2962 (delta 1905), pack-reused 0 +Receiving objects: 100% (2965/2965), 3.41 MiB | 2.57 MiB/s, done. +Resolving deltas: 100% (1908/1908), done. +Checking connectivity... done. +cowrie@oxygen:~$ + +$ cd cowrie + +$ cp cowrie.cfg.dist cowrie.cfg + +$ ./start.sh +$ ./start.sh +Starting cowrie in the background... +``` + + diff --git a/cowrie.cfg.dist b/cowrie.cfg.dist index 468cc8ab..0f07493b 100644 --- a/cowrie.cfg.dist +++ b/cowrie.cfg.dist @@ -62,7 +62,7 @@ contents_path = honeyfs # a real template linux installation. # # (default: fs.pickle) -filesystem_file = fs.pickle +filesystem_file = data/fs.pickle # Directory for miscellaneous data files, such as the password database. #