1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zysi [14]
3 years ago
9

Research and build a chroot jail that isolates ssh users who belong to the restrictssh group. (You will also need to create the

restrictssh group). Next, install an ftp server and configure it to allow anonymous logins. Create a second chroot jail that can be accessed by the anonymous account. You will probably need to create several new user accounts to facilitate testing your setups.
Computers and Technology
1 answer:
makkiz [27]3 years ago
7 0

Answer:

Explanation:

#!/bin/bash

# This script can be used to create simple chroot environment

# Written by LinuxConfig.org  

# (c) 2020 LinuxConfig under GNU GPL v3.0+

#!/bin/bash

CHROOT='/var/chroot'

mkdir $CHROOT

for i in $( ldd $* | grep -v dynamic | cut -d " " -f 3 | sed 's/://' | sort | uniq )

 do

   cp --parents $i $CHROOT

 done

# ARCH amd64

if [ -f /lib64/ld-linux-x86-64.so.2 ]; then

  cp --parents /lib64/ld-linux-x86-64.so.2 /$CHROOT

fi

# ARCH i386

if [ -f  /lib/ld-linux.so.2 ]; then

  cp --parents /lib/ld-linux.so.2 /$CHROOT

fi

echo "Chroot jail is ready. To access it execute: chroot $CHROOT"

You might be interested in
A small _____ at the lower right corner of a tool indicates that it contains hidden tools​
Vinil7 [7]

Answer:

A small <u><em>TRIANGLE</em></u> at the lower right corner of a tool indicates that it contains hidden tools​

Explanation:

hope it helps you :)

6 0
2 years ago
What are output statement in QBASIC?
Roman55 [17]

Answer:

<h2> hi. here's your answer ....</h2>

<h3>print statement provides output on the screen . it prints the value of the expression on the screen . if the expression list is blank , no character is print . the expression in the list may be numeric or string .</h3><h2>Hope you like it..</h2><h2>(◕ᴗ◕✿)</h2>

5 0
3 years ago
Which branch of science helps avoid or minimize stress-related injuries at workplace? ______is a branch of science that aims to
Elanso [62]
<span>The reduction of workplace-related repetitive stress injuries is a field of scientific focus which gained prominence in the past few decades in order to increase worker productivity and reduce downtime and job-related injury claims. This particular branch of science is known as "ergonomics".</span>
4 0
4 years ago
1) Only analog signals can be used to transmit information.<br><br> a) True b) False
Contact [7]

Answer: False

Explanation:

Digital signal is used for transmission of information over a dedicated line wheres for using analog signal for transmission of information it is first converted to digital to be able to transfer it across long distances./

3 0
3 years ago
Describe what happens at every step of our network model, when a node of one network...
Lynna [10]

Answer:

Each node on the network has an addres which is called the ip address of which data is sent as IP packets. when the client sends its TCP connection request, the network layer puts the request in a number of packets and transmits each of them to the server.

5 0
3 years ago
Other questions:
  • Which option represents the location of the Data Table function?
    12·1 answer
  • Assume you're using a three button mouse. to access shortcut menus you would
    10·1 answer
  • A derived character that is shared by all members of a clade is called a ______________ of that clade.
    6·1 answer
  • Including quotes in your paper can bring additional meaning to the content True are false
    11·2 answers
  • The blank areas around the outside edges of a document are called the _____. a. settings b. margins c. blank space d. empty spac
    14·1 answer
  • Software that protects confidentiality by screening outgoing documents to identify and block transmission of sensitive informati
    12·1 answer
  • Which tcp/ip troubleshooting command should you use to determine whether a client and server are communicating with each other?
    7·1 answer
  • Complete the GiftCard class shown below. A GiftCard keeps track of the current balance on the card. A gift card starts with a be
    11·1 answer
  • How long does it take to wash 12 t-shirts in the quickest way?​
    15·2 answers
  • ____ is the amount of effort (usually in hours) required to perform cryptanalysis on an encoded message so that it may be decryp
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!