Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

   

 

  Oracle Tips by Burleson

The SUID special permission mode
 

$ which passwd

/usr/bin/passwd

$ ls -l /usr/bin/passwd

-r-s--x--x    1 root     root        17700 Jun 25  2004 /usr/bin/passwd
 

In the next example we perform the following functions to show the effects of having the sticky bit set on a directory:

1.      Starting out in the root directory (/) logged in as tclark, we list child directory permissions using ls –l.  Note that the /shared directory and the /tmp directory have the sticky bit set, indicated by the letter ‘t’ in the last position of the permissions display.

2.      Change to the /shared directory and list the directory contents, showing 3 files … one each owned by abe, tclark, and root all with .dat suffixes.

3.      Attempt to delete all 3 files using rm *.dat and getting errors for the files owned by abe and root, but successfully deleting the file owned by tclark.

4.      Recreate the file owned by tclark that was just deleted.

5.      Switch to the root user by using the su command

6.      As root, remove the sticky bit from the /shared directory using the chmod o-t shared command.

7.      Switch back to the tclark user and reattempt step #3, this time successfully deleting all three files (even the file owned by root).
 


The above book excerpt is from:

Easy Linux Commands
Working Examples of Linux Command Syntax

ISBN: 0-9759135-0-6   

Terry Clark 

http://www.rampant-books.com/book_2005_1_linux_commands.htm 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational