The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-03-2006
geomonap geomonap is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 9
Weird sudo behaviour

Hi gurus.
I implemented sudo and have the following in my sudo config file
***************
# User alias specification
User_Alias VENDOR = user1

# User privilege specification
VENDOR ALL = NOPASSWD: /bin/, /sbin/, /usr/local/bin/, \
!/bin/su, !SHELLS, !/bin/passwd *root*

****************

To test the implementation, as root i created a file with the following priveleges

-rwx------ 1 root root 9 Feb 3 14:41 test.file1

As user1 I was able to delete this file, without using sudo. Any ideas on why user1 is able to delete this file without using sudo even though only root has priveleges on that file?


regards,

Rg