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 > 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 and shell scripting languages 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 05:07 AM
To What files root does not have access to?? mgirinath UNIX for Dummies Questions & Answers 2 12-07-2005 11:26 AM
how to access root priveliges if root password is lost wojtyla Linux 1 02-18-2005 06:24 AM
Perl CGI to access / edit "root" owned config files WIntellect Shell Programming and Scripting 1 04-23-2003 03: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 08:17 AM

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 12-07-2005
mgirinath mgirinath is offline
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
  #2 (permalink)  
Old 12-07-2005
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,754
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.
  #3 (permalink)  
Old 12-07-2005
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 424
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.
  #4 (permalink)  
Old 12-07-2005
ErNci ErNci is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 24
Nuclear Weapons Controls on any country, nor Microsoft source files.
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 06:45 PM.


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