File: control

package info (click to toggle)
jailkit 2.21-4%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 972 kB
  • sloc: ansic: 4,055; python: 1,904; sh: 318; makefile: 239
file content (32 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download
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
Test-Command: jk_check -h
Restrictions: needs-root, superficial

Test-Command: jk_chrootlaunch -h 2>&1 | grep Usage
Restrictions: needs-root, superficial

Test-Command: jk_cp -h
Restrictions: needs-root, superficial

Test-Command: jk_init -h
Restrictions: needs-root, superficial

Test-Command: jk_list -h
Restrictions: needs-root, superficial

Test-Command: jk_socketd -h
Restrictions: needs-root, superficial

Test-Command: jk_update -h
Restrictions: needs-root, superficial

Test-Command: jk_init -v -j $AUTOPKGTEST_TMP ssh 2>&1 | grep "is writable by group or others"
Restrictions: needs-root, superficial

Test-Command: [ -d /home/jail ] && { echo "/home/jail already exists"; exit 1; } || mkdir /home/jail;
              jk_init -v -j /home/jail basicshell extendedshell jk_lsh;
              ls /home/jail;
              useradd johntheghost -p JFE77XeDHmQc2 -s /usr/sbin/jk_chrootsh;
              jk_jailuser -m -j /home/jail johntheghost;
              rm -rf /home/jail;
              deluser johntheghost 2>&1
Restrictions: needs-root, allow-stderr