O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required