Browse Source

Formatting

pull/1/head
Marc Schoechlin 12 years ago
parent
commit
0b89e4ec0d
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      README.md

+ 10
- 5
README.md View File

@ -10,11 +10,13 @@ Usage
* Record session
```
script -t /tmp/foo/2013-09-11_18-47-45.user1.11931.typescript 2> /tmp/foo/2013-09-11_18-47-45.user1.11931.timing
script -t /tmp/foo/2013-09-11_18-47-45.user1.11931.typescript \
2> /tmp/foo/2013-09-11_18-47-45.user1.11931.timing
```
* Replay session
```
scriptreplay -t /tmp/foo/2013-09-11_18-47-45.user1.11931.timing /tmp/foo/2013-09-11_18-47-45.user1.11931.typescript
scriptreplay -t /tmp/foo/2013-09-11_18-47-45.user1.11931.timing \
/tmp/foo/2013-09-11_18-47-45.user1.11931.typescript
```
@ -125,8 +127,10 @@ The logged information can also be forwarded to secured logging servers using st
* helpers/auditshell_create_sessionfiles
* Set permission and owner
```
chown root:root /usr/local/bin/{scriptreplay,auditshell,auditshell_create_sessionfiles}
chmod 755 /usr/local/bin/{scriptreplay,auditshel,auditshell_create_sessionfiles}
chown root:root \
/usr/local/bin/{scriptreplay,auditshell,auditshell_create_sessionfiles}
chmod 755 \
/usr/local/bin/{scriptreplay,auditshel,auditshell_create_sessionfiles}
```
* Patch an install custom "script" implementation
```
@ -159,7 +163,8 @@ Watch auditshell sessions
```
* Replay session
```
scriptreplay -t /tmp/foo/2013-09-11_18-47-45.user1.11931.timing /tmp/foo/2013-09-11_18-47-45.user1.11931.typescript
scriptreplay -t /tmp/foo/2013-09-11_18-47-45.user1.11931.timing \
/tmp/foo/2013-09-11_18-47-45.user1.11931.typescript
```

Loading…
Cancel
Save