Re: NFS question

Anders Holm <[email protected]>
Newsgroups gmane.user-groups.linux.ilug.general
Message-ID <[email protected]>
Correct.

To set appropriate permissions (so only the appropriate accounts can do
what they need) the standard filesystem permissions are used. You might
look at NFSv4 if you have a fair sized deployment, allowing you to keep
uids and gids the same across the board. It is messy, with either v3 or
v4 as you need to map things or simply not care until something doesn't
work right.

But, why NFS? Just for $HOME foo? What is your one source of truth for
user accounts? If it is for Uni, please don't say "local". :) If it is
LDAP, you could tie the NFS server into it for mapping the uid/gid and
Bob's your uncle ...

//anders

On 19/01/2016 09:52, Braun Brelin wrote:
> I'm pretty sure that NFS doesn't work that way.  Authorization and
> authentication is done via file permission settings and the /etc/exports
> file.   I.e. you can set it up so that only user xyz or group xyz can
> access a particular NFS mount or that a mount is read/write or
> read/only, but NFS isn't an end user application, it's an application
> layer network protocol. 
> 
> Braun Brelin
> 
> 
> On Tue, Jan 19, 2016 at 11:40 AM, Gerard Hooton <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hi All,
>     Is it possible to have an NFS export that requires user authentication?
>     So if I export /export/home and an NFS client wants to mount say
>     /export/home/Jack, then a password dialogue box pops up requesting a
>     password for jack.
>     When jack is a user on the NFS server with home dir /export/home/Jack
> 
> 
>     -- 
>     Gerard Hooton.
>     Senior Technical Officer
>     School of Engineering.
>     University College Cork.
>     College Road.
>     Cork.
>     Ireland.
>     Tel: +353 21 4902296 <tel:%2B353%2021%204902296>
>     Mobile: +353 852813491 <tel:%2B353%20852813491>
> 
>     -- 
>     Irish Linux Users Group
>     --- You received this message because you are subscribed to the
>     Google Groups "ILUG" group.
>     To unsubscribe from this group and stop receiving emails from it,
>     send an email to [email protected]
>     <mailto:ilug%[email protected]>.
>     To post to this group, send an email to [email protected]
>     <mailto:[email protected]>.
>     Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
>     To view this discussion on the web, visit
>     https://groups.google.com/a/linux.ie/d/msgid/ilug/569E04A5.3080100%40ucc.ie.
> 
> 
> -- 
> Irish Linux Users Group
> ---
> You received this message because you are subscribed to the Google
> Groups "ILUG" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected] <mailto:[email protected]>.
> To post to this group, send email to [email protected] <mailto:[email protected]>.
> Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
> To view this discussion on the web, visit
> https://groups.google.com/a/linux.ie/d/msgid/ilug/CAJ2OvpiicWzgoYJArrhM8g0E%2BWEsc8KX4DHq%3Di63xJ7xJVa9gg%40mail.gmail.com
> <https://groups.google.com/a/linux.ie/d/msgid/ilug/CAJ2OvpiicWzgoYJArrhM8g0E%2BWEsc8KX4DHq%3Di63xJ7xJVa9gg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
Irish Linux Users Group
--- 
You received this message because you are subscribed to the Google Groups "ILUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/569E0C80.7050306%40gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.