Linux Journal: Tux Knows It's Nice to Share, Part 2 | Linux Today

Linux Journal: Tux Knows It’s Nice to Share, Part 2

Written By
MG
Marcel Gagné
Feb 8, 2001

[ Thanks to 2more0 for this link.
]

“Now, there’s a concept for you. We’ve all been told that it’s
nice to share (I said it myself right here in this very column),
and now we’ve got to consider what we can and can’t share. Yes,
it’s another week of examining the mysteries of the very universe
itself, delving into the human adventure, nay, the very soul of our
human nature, as we explore the wonders of our Linux systems.
Specifically, file sharing technologies. Whoa! What a segueway.
This can only mean that we have reconvened for yet another
installment of the “SysAdmin’s Corner”. As you might remember, we
were last discussing NFS file sharing. I called it the
Gread-Grand-Somethingorother of network file sharing. Then, we
looked at basic setup and exporting file systems to be mounted on
remote systems. The basic format of the /etc/exports file looks
something like this:

     /name_of_dir    client_name(permissions)

In particular, I used an example where I exported my own
/mnt/data1 directory with these options:

     /mnt/data1         192.168.1.2(rw,no_root_squash)

In other words, allow the computer at 192.168.1.2 to mount this
directory wherever it wants and, then, allow read and write
permissions even as root. The default, as I mentioned, is to treat
root as an anonymous user, thus severely limiting its access. This
is where I want to pick up today: Security in the world of NFS. In
the above example, I am assuming that I, being the system
administrator, am the one with root access to all machines. I trust
myself. Trust, however, must be meted out carefully.”

Complete
Story

MG

Marcel Gagné

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.