Model: ChatGPT-5 Thinking Question: Is it possible to save a Linux machine state to disk, kind of like a sleep, boot a different system and when booting the system with the saved state resume from that saved state?
Tag: linux
Using Logitech G915 X G-Keys (Macro keys) on Linux (Cinnamon)
I’m running arch linux with the Cinnamon Desktop Environment. I have recently bought a Logitech G915 X keyboard and I’m missing the macro key to launch the gnome-terminal program. Lucky Cinnamon has custom shortcuts. Go to System Settings. Keyboard. Shortcuts. There are 2 options for you. 1. Launchers Under Launchers, there’s “Launch terminal” and you […]
How to have a nice looking prompt in Rocky Linux
Well, Gentoo isn’t all bad. It has a very nice prompt. It displays the root user in RED and the non-root user in GREEN. So in order to have a nice looking prompt in Rocky Linux, just copy the Gentoo /etc/bash/bashrc to /etc/bashrc in Rocky.
sshd sftp chroot jail howto
Problem description: You would like to jail users to their home directories and not allow shell access, only sftp access. Solution: SFTP chroot jail 1. Create a system group. Here I call it sftponly.
|
1 |
groupadd -r sftponly |
2. edit the sshd_config file, usually residing in /etc/ssh/sshd_config (in weird opensuse it’s in /usr/etc/sshd/ ) and append (it needs […]