Hello Folks,
I need help on removing sudo access on one id but first of all, can i confirm that the user below is having sudo access ?
if he did have sudo access, how to remove ?
thanks
alrsprd3:root-/etc> more sudoers | grep fzcx0l
fzcx0l ALL=(ALL) ALL
alrsprd3:root-/etc>
It certainly looks like it.
Use visudo to comment out or remove that line.
Corona is right (do NOT edit "/etc/sudoers" directly, always use "visudo"), but the real question is not "how to remove these rights", but "how did he get them in first place?"
A user having this kind of "free pass for all" - even more so individually and not via a group - looks like a severe security breach to an outsider like me. You should take away the rights but also investigate how it was possible to get them in first place - and shut down this possibility immediately.
Just my 2 cents.
bakunin