Unix/Linux Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

how to remove sudo access from a user ?

AIX


Tags
aix, unix

Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-05-2012
wingcross wingcross is offline
Registered User
 
Join Date: Jan 2011
Last Activity: 23 November 2012, 10:38 PM EST
Posts: 26
Thanks: 7
Thanked 1 Time in 1 Post
Tools how to remove sudo access from a user ?

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


Code:
alrsprd3:root-/etc> more sudoers | grep fzcx0l
fzcx0l  ALL=(ALL) ALL
alrsprd3:root-/etc>

Sponsored Links
    #2  
Old Unix and Linux 10-05-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 April 2015, 6:26 PM EDT
Location: Saskatchewan
Posts: 20,522
Thanks: 880
Thanked 3,622 Times in 3,386 Posts
It certainly looks like it.

Use visudo to comment out or remove that line.
Sponsored Links
    #3  
Old Unix and Linux 10-07-2012
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 21 March 2015, 4:46 AM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 4,485
Thanks: 50
Thanked 919 Times in 721 Posts
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
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Restrict SUDO Access explorer007 Ubuntu 17 03-05-2012 04:33 PM
sudo/root access daWonderer UNIX for Dummies Questions & Answers 0 02-10-2012 05:47 AM
ONLY SU Sudo access ajaincv Shell Programming and Scripting 1 07-22-2011 01:03 AM
sudo user access daveisme AIX 2 07-15-2010 03:39 PM
sudo access verification itik Linux 2 09-10-2009 02:50 PM



All times are GMT -4. The time now is 05:47 PM.