From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,31cdfdeb427aaa84 X-Google-Attributes: gidf7344,public X-Google-Thread: fee84,31cdfdeb427aaa84 X-Google-Attributes: gidfee84,public X-Google-Thread: fa57a,31cdfdeb427aaa84 X-Google-Attributes: gidfa57a,public X-Google-Thread: 106e9e,31cdfdeb427aaa84 X-Google-Attributes: gid106e9e,public From: Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) Subject: Re: Fileserver security Date: 2000/02/14 Message-ID: <888j06$g30$1@new-usenet.uk.sun.com>#1/1 X-Deja-AN: 585703375 References: <87p1vp$3d5$1@info.service.rug.nl> Mail-Copies-To: never X-Complaints-To: usenet@new-usenet.uk.sun.com X-Trace: new-usenet.uk.sun.com 950521670 16480 129.159.201.52 (14 Feb 2000 09:47:50 GMT) Organization: Sun Microsystems, Netherlands NNTP-Posting-Date: 14 Feb 2000 09:47:50 GMT Newsgroups: alt.nl.comp.os.ms-windows.nt,comp.os.linux.security,comp.os.vms,comp.unix.osf.osf1 [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]] "Fred Zwarts" 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.