chroot

A collection of content related to the chroot linux command.

jk_chrootsh

The manual page for the jk_chrootsh Linux command. jk_chrootsh is a shell that places the user in a changed root directory structure.

How to create an SFTP user without shell access on your Linux system

botond published Jan. 2021, 01, 20:22 p.m. time
You may want to share larger files with others, or just receive ones that no longer fit in an email. Of course, there are also free file shares for this purpose, but if two-way data transfer is required more often, for example during teleworking, it is more expedient to solve this ourselves. SFTP (SSH File Transfer Protocol) is great for this, offering a secure file transfer solution over an SSH connection, unlike an unencrypted and outdated FTP connection. SFTP is available by default on any server that also has SSH access. As a result, in the present situation, the SSH connection has so many beauty flaws that it also provides a shell access, which we will not need here right now, because we do not want to be able to access other directories on our computer through the access we share. In this tutorial, we will look at how to create an SFTP user without shell access on your Linux system.

How to reset our forgotten root password on our Linux system

botond published March 2020, 10, Thu - 08:13 time
It is not common to log in as root, so we do not use its password for a long time. We may forget and the sudo command is not available. If this happens, let's look at two ways to recover your forgotten root password on Debian and Ububtu.

chroot (linux command)

The manual page and help for the chroot linux command. Chroot runs a command with a specified root directory. On many systems this can only be done by the root user.