Linux CLI - Users and Groups
What happens if a user without sudo rights runs
sudo cat /etc/shadow?sudo cat /etc/shadow?Only users with sudo rights can run commands with sudo.
Without sudo rights, the command fails with a permission denied error.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions