-
Notifications
You must be signed in to change notification settings - Fork 19
/
README
49 lines (34 loc) · 1.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
log-user-session README
-----------------------
log-user-session is a program to store the content of a shell session (e.g via
ssh) e.g. for auditing purposes. The tool is intended to be started by the ssh
server daemon. The log is tamper-proof for non-root users.
Current maintainer:
Konrad Bucheli <[email protected]>
Website:
https://github.com/open-ch/log-user-session
Dependencies
-------------
A C compiler and `make` must be installed prior to installation. You need also
`autoconf` if you get the source code not via official release tarball (e.g.
via git or via automatic generated github source tarballs).
On a Debian-based Linux distribution, they can be installed like this:
sudo apt-get install autoconf gcc make
Installation
------------
If you want to install log-user-session from source, proceed as follows:
1. Run `[ -f ./configure ] || ./autogen.sh` to generate the `configure` file if
it is not ready yet
2. Run `./configure`. You might first review any options with
`./configure --help`. The defaults are likely fine.
3. Run `make`
4. Run `sudo make install`
5. Have a look at `man log-user-session` for usage help.
6. Create the configuration file /etc/log-user-session.conf and integrate the
tool into your sshd configuration.
Supported Platforms
-------------------
This tool has been so far only tested on Linux.
Credits
-------
Konrad Bucheli ([email protected])