Learn to Create your own custom sudoers Entries in Linux

Published: 21 September 2022
on channel: theurbanpenguin
3,370
182

Learn to Create your own custom sudoers Entries in Linux correctly and efficiently.
Comment if there is something you would like to see

%users ALL=(root) /usr/bin/mount, /usr/bin/umount
Host_Alias WWW = ubuntu1, www1
Cmnd_Alias HELPDESKCMD = /usr/bin/passwd, !/usr/bin/passwd root, /usr/sbin/useradd
User_Alias HELPDESK = user1, user2
HELPDESK WWW=(root) HELPDESKCMD

We need to ensure we use visudo to create entries to syntax check are typing in the sudoers files. This is very important to ensure we do not break the sudoers system and leave ourselves without the ability to manage the system
Additionally you can find my video courses on Pluralsight: http://pluralsight.com/training/Autho... and take time to see my own site http://www.theurbanpenguin.com

~-~~-~~~-~~-~
Please watch: "RHCSA 9 Working With Podman Containers"
   • How To Use Podman Containers  
~-~~-~~~-~~-~


Watch video Learn to Create your own custom sudoers Entries in Linux online without registration, duration hours minute second in high quality. This video was added by user theurbanpenguin 21 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,37 once and liked it 18 people.