The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How can I get the list of files if I have root access? linuxbeginner UNIX for Dummies Questions & Answers 1 04-03-2008 02:07 AM
To What files root does not have access to?? mgirinath UNIX for Dummies Questions & Answers 2 12-07-2005 08:26 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 03:24 AM
Perl CGI to access / edit "root" owned config files WIntellect Shell Programming and Scripting 1 04-23-2003 12:48 PM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 05:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2005
Registered User
 

Join Date: May 2005
Posts: 69
To What files root does not have access to??

Hi,

I just wanted to know to what files root does not have access, not even read....I read that .profile for any user is the only file which root cannot access is it true..??...If we have to use passwords and ID's in a script can we use them in .profile and call them as parameters..???

Thanks,

Girinath
Reply With Quote
Forum Sponsor
  #2  
Old 12-07-2005
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
No. root owns the system and can change protections on a file - any file.
Plus, root can can su - which means root can become any user temporarily, mess with the file, then revert back to root.
Reply With Quote
  #3  
Old 12-07-2005
Registered User
 

Join Date: Nov 2003
Location: Minnesota
Posts: 388
One exception is NFS mounted stuff. Root doesn't have access to files on an NFS mounted directory owned by others, unless it is specified in the mount options.

Of course, the trick above of doing an su to the userid that does own them and accessing them that way still works. I have to do that all the time at work since we automount user's home directories and I couldn't edit their login scripts as root.
Reply With Quote
  #4  
Old 12-07-2005
Registered User
 

Join Date: Jun 2005
Posts: 24
Nuclear Weapons Controls on any country, nor Microsoft source files.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0