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



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sudo, or not sudo: that is the question iBot UNIX and Linux RSS News 1 02-07-2008 01:40 PM
A Strange Behaviour!!! navojit dutta Shell Programming and Scripting 5 12-21-2007 04:35 AM
Different behaviour of this program royalibrahim High Level Programming 7 10-20-2007 08:07 PM
Count behaviour when using su - Eronysis Shell Programming and Scripting 1 02-20-2006 06:20 PM
Behaviour of default soorajmu High Level Programming 5 12-09-2003 12:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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
  #2 (permalink)  
Old 02-03-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Check the permissions of the directory you put the file in that allowed the user1 to remove it from. That is probably where your issue is. (FYI has nothing to do with sudo)
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0