Hi all,
I want users to be able to NFS mount a directory that's on a Solaris server but I don't want them to be able to login (and run a shell) on that Solaris server. They are mounting it from their Windows PC (using Hummingbird's NFS client and running a pcnfsd daemon on the Solaris server).
I tried setting the shell field in /etc/passwd to /bin/false (or /bin/true) for these users but then the NFS authentication fails. The authentication only seems to work when I put a valid shell (/bin/sh say) in the shell field of /etc/passwd, but then of course they can login and be running the shell.
What do I need to do to allow the authentication to work but prevent a shell from running if they telnet/ssh?
I want users to be able to NFS mount a directory that's on a Solaris server but I don't want them to be able to login (and run a shell) on that Solaris server. They are mounting it from their Windows PC (using Hummingbird's NFS client and running a pcnfsd daemon on the Solaris server).
I tried setting the shell field in /etc/passwd to /bin/false (or /bin/true) for these users but then the NFS authentication fails. The authentication only seems to work when I put a valid shell (/bin/sh say) in the shell field of /etc/passwd, but then of course they can login and be running the shell.
What do I need to do to allow the authentication to work but prevent a shell from running if they telnet/ssh?