| 
       
       
             | 
              | 
            
            
            
              
             
             
               
               
               
                  | 
                 
UGU: Unix Guru Universe - Unix Tip #4113- May 16, 2012
 -  Home : Help
 : Today's Tip
 Unix Tip #4113- May 16, 2012
 
LOCK THAT FILE DOWN  
  
Sometimes you want to make a file very very secure.  
  
To do this, change the permissions to 000  
  
# chmod 000 [file]  
  
No one except root will be able to access it.  
Even the owner will have to change the  
permissions to be able to do anything to it.  
  
Although It's like a red flag that says..  
"I'm an important file"  
  
  
NOTE: DO NOT EVER DO THIS TO THE /etc/passwd FILE!  
  
 NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
  
LAST 5 TIPS
 4112
 - UMOUNT BUSY DEVICES
 4111
 - UPGRADING OPERATING SYSTEMS
 4110
 - INETD.CONF CLEAN UP
 4109
 - RENAME A LARGE NUMBER OF FILES
 4108
 - NULL ROOT PASSWD WITHOUT VI
 
I want to 
 SUBSCRIBE
 and get a UGU Tip everyday. 
I want to 
 UNSUBSCRIBE
 and NOT get a UGU Tip everyday.
 
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
                 
                  | 
                
                
                | 
                
               
                 |   | 
                
               
                   Copyright 1994-2024 Unix Guru Universe    | 
                
                
                | 
              
              
              | 
              | 
            
            
           
             |