[K12OSN] smbldap - root cannot access all folders on nfs mounted /home
john
lists.john at gmail.com
Sun Jan 14 22:15:14 UTC 2007
Hi Krsnendu,
I believe the line:
/home 192.168.0.0/255.255.255.0(rw,root_squash,sync)
Tells the machine with the exported share to NOT allow root users on other
machines to have rootly powers on the share. Otherwise anyone who has root
on their own machine can mount any nfs share and automagically have root on
it as well. You'll probably need to export this directory with the
*no_root_squash
*option. Here's a little blurb on NFS that might help.
John
On 1/14/07, Krsnendu dasa <krsnendu108 at gmail.com> wrote:
>
> I have installed K12LTSP6 and setup authentication from smbldap on the
> previous K12LTSP5 server.
> I have nfs exported /home from K12LTSP5 and mounted it.
>
> When I go to /home as root in nautilus it says I do not have access to
> some of the directories.
> Shouldn't root be able to access any file or directory?
>
> It seems to recognize the name root, but as an ordinary user not the
> superuser.
> I check in visudo and root is set up as superuser.
>
> How can I fix this?
>
> [root at k12ltsp1 ~]# ls -al /home
> total 76
> drwxr-xr-x 14 root root 4096 Jan 9 14:57 .
> drwxr-xr-x 26 root root 4096 Jan 14 15:34 ..
> drwx------ 43 aruni staff 4096 Nov 9 12:38 aruni
> drwxrwxr-x 4 BackupPC BackupPC 4096 Dec 19 06:25 BackupPC
> drwxr-xr-- 84 krsnendu admin 12288 Jan 9 22:04 krsnendu
> drwxrwxrwx 6 root root 4096 Jan 9 15:50 multimedia
> drwx------ 31 nikunja staff 4096 Jan 13 23:19 nikunja
> drwxrwxrwx 2 root root 4096 Jan 9 14:57 old
> drwxrwxrwx 10 root root 4096 Jan 9 15:07 oldwindows
> drwx------ 23 prana staff 4096 Oct 4 19:25 prana
> lrwxrwxrwx 1 root root 5 Aug 5 18:06 root -> /root
> drwxrwx--- 10 krsnendu staff 4096 Jan 9 15:24 School Intranet
> drwxrwxrwx 12 krsnendu students 4096 Jan 13 23:06 students
> drwxrwx--x 40 vaisnavi admin 4096 Jan 15 09:19 vaisnavi
> drwx------ 34 vimala staff 4096 Dec 14 11:18 vimala
>
>
> There are the relevant lines.
> K12LTSP5:/etc/exports
>
> /home 192.168.0.0/255.255.255.0(rw,root_squash,sync)
>
>
> K12LTSP6:/etc/fstab
> 192.168.0.254:/home /home nfs defaults 0 0
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20070114/8c7a08ec/attachment.htm>
More information about the K12OSN
mailing list