how to remove sudo access from a user ? | Unix Linux Forums | AIX

  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 Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 0 Times in 0 Posts
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 10-05-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 28 August 2014, 4:23 PM EDT
Location: Saskatchewan
Posts: 19,269
Thanks: 774
Thanked 3,236 Times in 3,034 Posts
It certainly looks like it.

Use visudo to comment out or remove that line.
Sponsored Links
    #3  
Old 10-07-2012
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 29 August 2014, 3:46 AM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 4,203
Thanks: 44
Thanked 800 Times in 631 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 Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:00 AM.