Limit access to the terminal to certain user (Ubuntu 22.04)
Ubuntu is a Linux
Here you have the latest notes from this category:
| Title | Modified |
| ----------- | ------------ |
| Build and Install...
Ubuntu is a Linu distribution.
Use the command
sudo usermod --shell /bin/false username
Explanation
sudo: execute a command as another user
usermod: modify a user...Linux-MoC
Remove access to the terminal to certain user (Ubuntu 22.04)
# Install dconf-editor
|
|
This will allow us to edit the shortcut keybinds of GNOME on a low level safely.
# Edit via dconf gui
- Open the program
- Go to:
/org/gnome/settings-daemon/plugins/media-keys/terminal
- Click on use default to turn it off
- Leave only the brackets in the custom value
[]
- Apply settings
# Screenshot
# Log in and out
This step makes the changes take effect for the user.
# Explanation
More about dconf and gnome: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_the_desktop_environment_in_rhel_8/configuring-gnome-at-low-level_using-the-desktop-environment-in-rhel-8
More about gnome keybinds https://github.com/Skycoder42/QHotkey/issues/35