The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Make program only run by root dave123 Shell Programming and Scripting 14 03-13-2008 06:59 AM
How to edit /etc/fstab when root was mounted as read only ilan Linux 3 02-28-2008 06:51 PM
switching user from root to ordinary user sasia Shell Programming and Scripting 3 01-25-2008 06:25 PM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM
cant make dir as root csaunders SUN Solaris 3 08-08-2004 07:26 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007
Registered User
 

Join Date: Mar 2005
Posts: 74
how to make root user read all

I want to know what i can set up so that root user can read everything. On my Solaris systems root can read the following directory.

drwxrwx--- 408 icsrc icarc0 36864 Aug 21 07:24 dev
drwxrwsr-x 7 icsrc icarc0 4096 Aug 4 1998 test

But on my linux systems it gets:
[root@machine archives]# cd dev
bash: cd: dev: Permission denied

Is there a difference in the way linux mounts? Or is there an option to let root user mount this?

Frank
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-22-2007
ADxD_7's Avatar
Registered User
 

Join Date: Aug 2007
Posts: 8
What do the permissions look like now? ( ls -l )
Reply With Quote
  #3 (permalink)  
Old 08-22-2007
Registered User
 

Join Date: Mar 2005
Posts: 74
permissions

Just like the post above:

drwxrwx--- 408 icsrc icarc0 36864 Aug 21 07:24 dev

from solaris root gets in fine, from RH linux no go. I am trying to figure out the difference...

They are both talking to a NetApp FAS940 running OS 7.1
Reply With Quote
  #4 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Dec 2004
Location: New Jersey
Posts: 25
Maybe I don't understand your question, but when you login to Solaris as root, are you in the / directory?
When you login as root in RH linux are you in /root or / or archives/?
Reply With Quote
  #5 (permalink)  
Old 08-30-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by frankkahle View Post
They are both talking to a NetApp FAS940 running OS 7.1
Are you talking about an NFS volume?

Normally root is mapped to nobody in an NFS mount, as root should only be trusted on your local machine.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:00 PM.


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 Global Fact Book

Content Relevant URLs by vBSEO 3.2.0