Question: If the colleague needs shell access, I would confirm what commands they require and tailor their sudo access using the /etc/sudoers file or a drop-in
If the colleague needs shell access, I would confirm what commands they require and tailor their sudo access using the /etc/sudoers file or a drop-in file under /etc/sudoer.d/. For example, if they are an admin needing to restart services or modify configs, I'd allow only those commands. If they just need to transfer files, I'd give more limited access
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
