* Re: Fileserver security
2000-02-08 5:00 Fileserver security Fred Zwarts
2000-02-08 5:00 ` Jan Vorbrueggen
2000-02-08 5:00 ` Larry Kilgallen
@ 2000-02-08 5:00 ` Colin Smith
2000-02-09 5:00 ` Fred Zwarts
2000-02-14 5:00 ` Fred Zwarts
2000-02-14 5:00 ` Casper H.S. Dik - Network Security Engineer
4 siblings, 1 reply; 11+ messages in thread
From: Colin Smith @ 2000-02-08 5:00 UTC (permalink / raw)
On Tue, 8 Feb 2000 13:25:31 +0100, Fred Zwarts <F.Zwarts@KVI.nl> wrote:
>Our main systems used to be OpenVMS systems in an OpenVMS cluster.
>In this way we had a highly secure file server system, where the
>home directories of all users were located on a few central
>servers, with a secure authentication system.
>Powers beyond our control force us to move from OpenVMS to
>Windows and Unix/Linux.
>We succeeded to set up a Windows NT domain and we think that
>in this way we have a reasonably secure file server system and
>authentication system for the Windows users.
Yeah, you'd think so wouldn't you.
>
>Now we want to set up a file server system and a centrally managed
>authentication system for the Unix (mostly Linux, a few Compaq
>Tru64) systems at our site. We see that almost everyone uses NFS
>and NIS for this purpose.
>We also read in the Security HOWTO section 8.9:
>
> NIS is not secure at all. It was never meant to be.
>
>In the NFS HOWTO, section 6.2, we find:
>
> "But the root user on the client can still use 'su' to
> become any other user and access and change that users
> files!" say you. To which the answer is: Yes, and that's
> the way it is, and has to be with Unix and NFS.
>
>So, even if we find a secure authentication system, even then we
>should export NFS systems with user files only to systems completely under our control. Owners of PC's should be given
NIS+, Kerberos.
Yup. Only export file systems to systems you *trust*.
>access to a remote NFS file system only if they are not able to
>login as root on their own PC, nor to boot from anything else but
>the partitions created by us. This will lower the enthousiasm of
>these users for the file server by a large amount, since one of
>the charms of using Linux is the possibility for everybody to
>install his own flavor of distribution, X environment, and other
>software on his PC.
>
Well, that's just tough isn't it.
>We know that there are a few alternatives for NIS and NFS, but
>we have the feeling that we would place ourselves out of the
>main stream by using them, which could bring us to a dead end.
>
You'll find Kerberos becoming popular.
>Given these security problems and the popularity of NIS and NFS,
>we wonder how other peoply look at this. Do they completely trust
>their users? Do they remove completely the possibility of their
>users to manage their own system? Do they silently accept the
>risks? Do we overlook a possibility?
Don't trust users, remove root access to the local workstations.
>
> F.Z.
>
--
|Colin Smith: Colin.Smith@yelm.freeserve.co.uk | Windows 2000 |
|Linux: Delivers on the promises Microsoft make. | AKA |
| http://www.linux.org/ | The W2K Bug |
^ permalink raw reply [flat|nested] 11+ messages in thread
* Fileserver security
@ 2000-02-08 5:00 Fred Zwarts
2000-02-08 5:00 ` Jan Vorbrueggen
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Fred Zwarts @ 2000-02-08 5:00 UTC (permalink / raw)
Our main systems used to be OpenVMS systems in an OpenVMS cluster.
In this way we had a highly secure file server system, where the
home directories of all users were located on a few central
servers, with a secure authentication system.
Powers beyond our control force us to move from OpenVMS to
Windows and Unix/Linux.
We succeeded to set up a Windows NT domain and we think that
in this way we have a reasonably secure file server system and
authentication system for the Windows users.
Now we want to set up a file server system and a centrally managed
authentication system for the Unix (mostly Linux, a few Compaq
Tru64) systems at our site. We see that almost everyone uses NFS
and NIS for this purpose.
We also read in the Security HOWTO section 8.9:
NIS is not secure at all. It was never meant to be.
In the NFS HOWTO, section 6.2, we find:
"But the root user on the client can still use 'su' to
become any other user and access and change that users
files!" say you. To which the answer is: Yes, and that's
the way it is, and has to be with Unix and NFS.
So, even if we find a secure authentication system, even then we
should export NFS systems with user files only to systems completely under our control. Owners of PC's should be given
access to a remote NFS file system only if they are not able to
login as root on their own PC, nor to boot from anything else but
the partitions created by us. This will lower the enthousiasm of
these users for the file server by a large amount, since one of
the charms of using Linux is the possibility for everybody to
install his own flavor of distribution, X environment, and other
software on his PC.
We know that there are a few alternatives for NIS and NFS, but
we have the feeling that we would place ourselves out of the
main stream by using them, which could bring us to a dead end.
Given these security problems and the popularity of NIS and NFS,
we wonder how other peoply look at this. Do they completely trust
their users? Do they remove completely the possibility of their
users to manage their own system? Do they silently accept the
risks? Do we overlook a possibility?
F.Z.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 Fileserver security Fred Zwarts
2000-02-08 5:00 ` Jan Vorbrueggen
@ 2000-02-08 5:00 ` Larry Kilgallen
2000-02-08 5:00 ` Colin Smith
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Larry Kilgallen @ 2000-02-08 5:00 UTC (permalink / raw)
In article <87p1vp$3d5$1@info.service.rug.nl>, "Fred Zwarts" <F.Zwarts@KVI.nl> writes:
> We know that there are a few alternatives for NIS and NFS, but
> we have the feeling that we would place ourselves out of the=20
> main stream by using them, which could bring us to a dead end.
Security and being in the main stream are conflicting goals.
You will have to choose one or the other.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 Fileserver security Fred Zwarts
@ 2000-02-08 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` Fred Zwarts
2000-02-09 5:00 ` lurker
2000-02-08 5:00 ` Larry Kilgallen
` (3 subsequent siblings)
4 siblings, 2 replies; 11+ messages in thread
From: Jan Vorbrueggen @ 2000-02-08 5:00 UTC (permalink / raw)
"Fred Zwarts" <F.Zwarts@KVI.nl> writes:
> In the NFS HOWTO, section 6.2, we find:
>
> "But the root user on the client can still use 'su' to
> become any other user and access and change that users=20
> files!" say you. To which the answer is: Yes, and that's=20
> the way it is, and has to be with Unix and NFS.
>
> So, even if we find a secure authentication system, even then we
> should export NFS systems with user files only to systems completely =
> under our control. Owners of PC's should be given=20
> access to a remote NFS file system only if they are not able to=20
> login as root on their own PC, nor to boot from anything else but=20
> the partitions created by us.
Just so. The issue is exactly the same for VMS, is it not? That's why
console passwords exist.
Jan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` Fred Zwarts
@ 2000-02-09 5:00 ` lurker
1 sibling, 0 replies; 11+ messages in thread
From: lurker @ 2000-02-09 5:00 UTC (permalink / raw)
Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in
message news:y4puu7ag4w.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de...
> "Fred Zwarts" <F.Zwarts@KVI.nl> writes:
>
> > In the NFS HOWTO, section 6.2, we find:
> >
> > "But the root user on the client can still use 'su' to
> > become any other user and access and change that users=20
> > files!" say you. To which the answer is: Yes, and that's=20
> > the way it is, and has to be with Unix and NFS.
> >
> > So, even if we find a secure authentication system, even then we
> > should export NFS systems with user files only to systems completely =
> > under our control. Owners of PC's should be given=20
> > access to a remote NFS file system only if they are not able to=20
> > login as root on their own PC, nor to boot from anything else but=20
> > the partitions created by us.
>
> Just so. The issue is exactly the same for VMS, is it not? That's why
> console passwords exist.
>
> Jan
AFAIR the NFS HowTo also tells you to go and use Samba rather than NFS if
possible (how do you even mount an NFS partition on winblows w/o a 3rd party
client?) Also Samba will be much faster (faster than NT doing SMB natively;
excepting some RAID setups according to Redmond) and have all the security
you're looking for, or did I read all this stuff way too fast?
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 ` Colin Smith
@ 2000-02-09 5:00 ` Fred Zwarts
0 siblings, 0 replies; 11+ messages in thread
From: Fred Zwarts @ 2000-02-09 5:00 UTC (permalink / raw)
"Colin Smith" <colin@Yelm.freeserve.co.uk> wrote in message news:slrn8a18ul.94k.colin@Orlanth.homenetwork...
> On Tue, 8 Feb 2000 13:25:31 +0100, Fred Zwarts <F.Zwarts@KVI.nl> wrote:
> >Our main systems used to be OpenVMS systems in an OpenVMS cluster.
> >In this way we had a highly secure file server system, where the
> >home directories of all users were located on a few central
> >servers, with a secure authentication system.
> >Powers beyond our control force us to move from OpenVMS to
> >Windows and Unix/Linux.
> >We succeeded to set up a Windows NT domain and we think that
> >in this way we have a reasonably secure file server system and
> >authentication system for the Windows users.
>
> Yeah, you'd think so wouldn't you.
>
> >
> >Now we want to set up a file server system and a centrally managed
> >authentication system for the Unix (mostly Linux, a few Compaq
> >Tru64) systems at our site. We see that almost everyone uses NFS
> >and NIS for this purpose.
> >We also read in the Security HOWTO section 8.9:
> >
> > NIS is not secure at all. It was never meant to be.
> >
> >In the NFS HOWTO, section 6.2, we find:
> >
> > "But the root user on the client can still use 'su' to
> > become any other user and access and change that users
> > files!" say you. To which the answer is: Yes, and that's
> > the way it is, and has to be with Unix and NFS.
> >
> >So, even if we find a secure authentication system, even then we
> >should export NFS systems with user files only to systems completely under our control. Owners of PC's should be given
>
> NIS+, Kerberos.
Their is no NIS+ server for Linux. We don't want to import another
Unix flavor. Everybody managing a NIS+ server seems to see it as a
punishment.
> Yup. Only export file systems to systems you *trust*.
>
> >access to a remote NFS file system only if they are not able to
> >login as root on their own PC, nor to boot from anything else but
> >the partitions created by us. This will lower the enthousiasm of
> >these users for the file server by a large amount, since one of
> >the charms of using Linux is the possibility for everybody to
> >install his own flavor of distribution, X environment, and other
> >software on his PC.
> >
>
> Well, that's just tough isn't it.
>
> >We know that there are a few alternatives for NIS and NFS, but
> >we have the feeling that we would place ourselves out of the
> >main stream by using them, which could bring us to a dead end.
> >
>
> You'll find Kerberos becoming popular.
I hope so, but it is still to be seen.
> >Given these security problems and the popularity of NIS and NFS,
> >we wonder how other peoply look at this. Do they completely trust
> >their users? Do they remove completely the possibility of their
> >users to manage their own system? Do they silently accept the
> >risks? Do we overlook a possibility?
>
> Don't trust users, remove root access to the local workstations.
>
> >
> > F.Z.
> >
>
>
> --
> |Colin Smith: Colin.Smith@yelm.freeserve.co.uk | Windows 2000 |
> |Linux: Delivers on the promises Microsoft make. | AKA |
> | http://www.linux.org/ | The W2K Bug |
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 ` Jan Vorbrueggen
@ 2000-02-09 5:00 ` Fred Zwarts
2000-02-09 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` lurker
1 sibling, 1 reply; 11+ messages in thread
From: Fred Zwarts @ 2000-02-09 5:00 UTC (permalink / raw)
"Jan Vorbrueggen" <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in message news:y4puu7ag4w.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de...
> "Fred Zwarts" <F.Zwarts@KVI.nl> writes:
>
> > In the NFS HOWTO, section 6.2, we find:
> >
> > "But the root user on the client can still use 'su' to
> > become any other user and access and change that users=20
> > files!" say you. To which the answer is: Yes, and that's=20
> > the way it is, and has to be with Unix and NFS.
> >
> > So, even if we find a secure authentication system, even then we
> > should export NFS systems with user files only to systems completely =
> > under our control. Owners of PC's should be given=20
> > access to a remote NFS file system only if they are not able to=20
> > login as root on their own PC, nor to boot from anything else but=20
> > the partitions created by us.
>
> Just so. The issue is exactly the same for VMS, is it not? That's why
> console passwords exist.
>
> Jan
Technically it is already somewhat different.
You need a cluster password to join the VMS cluster,
but you need almost nothing to mount a NFS disk.
You need a lot of expertise to write software to access a VMS
cluster disk without being a cluster member,
but everybody can buy a Linux CD-rom, install Linux on its
hard disk and mount the NFS disk.
But more important are non-technical issues.
For some reason the Linux community is different.
Owners of VMS systems accept central control of their system.
Linux users want to control their systems themselves,
but at the same time they want to use central facilities.
We want to see how others solve this.
NIS and NFS are popular. Do Linux users at other sites accept it
that they don't have root access?
F.Z.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-09 5:00 ` Fred Zwarts
@ 2000-02-09 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` Fred Zwarts
0 siblings, 1 reply; 11+ messages in thread
From: Jan Vorbrueggen @ 2000-02-09 5:00 UTC (permalink / raw)
"Fred Zwarts" <F.Zwarts@KVI.nl> writes:
> > Just so. The issue is exactly the same for VMS, is it not? That's why
> > console passwords exist.
> Technically it is already somewhat different.
> You need a cluster password to join the VMS cluster,
...which everybody can copy from your disk onto her local one...
> but you need almost nothing to mount a NFS disk.
> You need a lot of expertise to write software to access a VMS
> cluster disk without being a cluster member,
But that's not really the point, is it? As DEC so nicely says, a cluster
is a single security domain - if you have root-type access on any one node,
you have it, or can gain it, everywhere.
> Do Linux users at other sites accept it that they don't have root access?
Tell them it's a case of having their cake, or eating it. Both isn't on the
cards.
Jan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-09 5:00 ` Jan Vorbrueggen
@ 2000-02-09 5:00 ` Fred Zwarts
0 siblings, 0 replies; 11+ messages in thread
From: Fred Zwarts @ 2000-02-09 5:00 UTC (permalink / raw)
"Jan Vorbrueggen" <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in message news:y4u2jiwnhl.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de...
> "Fred Zwarts" <F.Zwarts@KVI.nl> writes:
>
> > > Just so. The issue is exactly the same for VMS, is it not? That's why
> > > console passwords exist.
> > Technically it is already somewhat different.
> > You need a cluster password to join the VMS cluster,
>
> ...which everybody can copy from your disk onto her local one...
Only if they have enough privileges. So, usually only the system manager.
>
> > but you need almost nothing to mount a NFS disk.
> > You need a lot of expertise to write software to access a VMS
> > cluster disk without being a cluster member,
>
> But that's not really the point, is it? As DEC so nicely says, a cluster
> is a single security domain - if you have root-type access on any one node,
> you have it, or can gain it, everywhere.
>
> > Do Linux users at other sites accept it that they don't have root access?
>
> Tell them it's a case of having their cake, or eating it. Both isn't on the
> cards.
>
> Jan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 Fileserver security Fred Zwarts
` (2 preceding siblings ...)
2000-02-08 5:00 ` Colin Smith
@ 2000-02-14 5:00 ` Fred Zwarts
2000-02-14 5:00 ` Casper H.S. Dik - Network Security Engineer
4 siblings, 0 replies; 11+ messages in thread
From: Fred Zwarts @ 2000-02-14 5:00 UTC (permalink / raw)
"Last week I wrote in message news:87p1vp$3d5$1@info.service.rug.nl...
> Our main systems used to be OpenVMS systems in an OpenVMS cluster.
> In this way we had a highly secure file server system, where the
> home directories of all users were located on a few central
> servers, with a secure authentication system.
> Powers beyond our control force us to move from OpenVMS to
> Windows and Unix/Linux.
> We succeeded to set up a Windows NT domain and we think that
> in this way we have a reasonably secure file server system and
> authentication system for the Windows users.
>
> Now we want to set up a file server system and a centrally managed
> authentication system for the Unix (mostly Linux, a few Compaq
> Tru64) systems at our site. We see that almost everyone uses NFS
> and NIS for this purpose.
> We also read in the Security HOWTO section 8.9:
>
> NIS is not secure at all. It was never meant to be.
> In the NFS HOWTO, section 6.2, we find:
> "But the root user on the client can still use 'su' to
> become any other user and access and change that users
> files!" say you. To which the answer is: Yes, and that's
> the way it is, and has to be with Unix and NFS.
>
> So, even if we find a secure authentication system, even then we
> should export NFS systems with user files only to systems completely under our > control. Owners of PC's should be given
> access to a remote NFS file system only if they are not able to
> login as root on their own PC, nor to boot from anything else but
> the partitions created by us. This will lower the enthousiasm of
> these users for the file server by a large amount, since one of
> the charms of using Linux is the possibility for everybody to
> install his own flavor of distribution, X environment, and other
> software on his PC.
>
> We know that there are a few alternatives for NIS and NFS, but
> we have the feeling that we would place ourselves out of the
> main stream by using them, which could bring us to a dead end.
>
> Given these security problems and the popularity of NIS and NFS,
> we wonder how other peoply look at this. Do they completely trust
> their users? Do they remove completely the possibility of their
> users to manage their own system? Do they silently accept the
> risks? Do we overlook a possibility?
Up to now I only received a few reactions of the type "Yes NIS and NFS
are insecure. Try something else."However, I did not receive any reaction
from people who use NIS and NFS. What should I conclude from your silence?
Do you realize the risk, but do you want to keep it secret?
If not, please, tell us how you view it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Fileserver security
2000-02-08 5:00 Fileserver security Fred Zwarts
` (3 preceding siblings ...)
2000-02-14 5:00 ` Fred Zwarts
@ 2000-02-14 5:00 ` Casper H.S. Dik - Network Security Engineer
4 siblings, 0 replies; 11+ messages in thread
From: Casper H.S. Dik - Network Security Engineer @ 2000-02-14 5:00 UTC (permalink / raw)
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]
"Fred Zwarts" <F.Zwarts@KVI.nl> writes:
>In the NFS HOWTO, section 6.2, we find:
> "But the root user on the client can still use 'su' to
> become any other user and access and change that users
> files!" say you. To which the answer is: Yes, and that's
> the way it is, and has to be with Unix and NFS.
This, of course, is not true. It is only true if you decide
to run NFS in an insecure fashion (i.e., run it with AUTH_UNIX/AUTH_SYS
credentials which basically allow the client to tell the server
which user is accessing the files)
>So, even if we find a secure authentication system, even then we
>should export NFS systems with user files only to systems completely =
>under our control. Owners of PC's should be given
>access to a remote NFS file system only if they are not able to
>login as root on their own PC, nor to boot from anything else but
>the partitions created by us. This will lower the enthousiasm of
>these users for the file server by a large amount, since one of
>the charms of using Linux is the possibility for everybody to
>install his own flavor of distribution, X environment, and other
>software on his PC.
In a "proper" NFS environment, it is possible to use different
methods of authentications. The earliest form is called "Secure RPC"
or better "AUTH_DES" RPC. This requires the client to authenticate
the user using a DH key.
Newer systems allow AUTH_KERB (which is kerberos IV and is now
depreciated) and GSS_API RPC which adds not only authentication
but also the integrity (signed transactions) and encryption.
NFS isn't insecure; the protocol doesn't even concern itself with
authentication. Authentication is up to the RPC layer.
However, the implementation choices are limited as not all implementations
support stronger security.
NFSv4 will mandate support for GSS_API.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-02-14 5:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-08 5:00 Fileserver security Fred Zwarts
2000-02-08 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` Fred Zwarts
2000-02-09 5:00 ` Jan Vorbrueggen
2000-02-09 5:00 ` Fred Zwarts
2000-02-09 5:00 ` lurker
2000-02-08 5:00 ` Larry Kilgallen
2000-02-08 5:00 ` Colin Smith
2000-02-09 5:00 ` Fred Zwarts
2000-02-14 5:00 ` Fred Zwarts
2000-02-14 5:00 ` Casper H.S. Dik - Network Security Engineer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox