HP/Works

Home Join! Events PING! Committee Directory

Go to: PING INDEX : DECEMBER 1997 CONTENTS : Q&As

PROBLEM ONE - pcnfs problem with HP-UX 10.20

pcnfs does not work correctly with 10.20 - the fault is cleared by setting up the /etc/shells file with the /bin/sh /bin/csh etc entries.

PROBLEM TEXT

I cannot mount drives from PCNFS via any user. Root is gaining access, but none of the users is being authenticated. How can this be fixed?

DETAIL TEXT

Operating System - HP-UX
Version - 10.20
Hardware System - H60

RESOLUTION TEXT

  1. You need to make the correction in your pcnfsd.conf file to include a range of uid's (user ids).

  2. Also include a /etc/shells file which includes /bin/csh and /bin/ksh shells.

    For authentification, the system will check a /etc/shells file for valid shells. If you do not have /etc/shells file on the system, then it will do a getusershell call (you can do a man page on getusershell). The default list that getusershell returns at 10.x is /usr/bin/csh, /usr/bin/ksh (notice it is /usr/bin instead of /bin).

    The entry in the passwd file does not match the return list from getusershell so the authentification is denied. Therefore, the solution is to modify /etc/passwd file so that it is using 10.x path, or set up /etc/shells file to verify 9.x path (/bin/csh).

  3. Kill PCNFSD
  4. Restart PCNFSD

It should now be authenticated. For information about user authentication, refer to the PCNFS User's Guide that comes with your version of PCNFS.

Problem Two


Home