Authentication

We have now successfully mounted the resources on the clients, and all the users can access their data correctly. The only odd thing is that if we try to create a file as root, it doesn't get created with the correct ownership. In fact, depending on where we try to write it, we may not have permission to create the file at all!

For example, if we run the following commands, we can see that we end up with a file owned by someone known as nobody:

server# share -F /temp_dir
server#

client# mount -F nfs server:/temp_dir /temp_dir
client# touch /temp_dir/testfile
client# ls -l /temp_dir/testfile
-rwxr-xr-x  1 nobody   nobody 0 Oct 22 2001 /temp_dir/testfile
client#

We haven't created the user, so where has it come from? If we look in ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.