home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 6.ddi / usr / bin / installpkg < prev    next >
Encoding:
Text File  |  1990-12-08  |  482 b   |  17 lines

  1. #!/sbin/sh
  2.  
  3. #
  4. #ident    "@(#)/usr/bin/installpkg.sl 1.1 4.0 12/08/90 3685 AT&T-USL"
  5. #
  6. PATH=/sbin:/usr/sbin:/etc:/usr/bin
  7. export PATH
  8. RC=`/usr/vmsys/admin/.chkuser -u`
  9. if [ "$RC" = "1" ]
  10. then
  11.     message -d "You (${LOGNAME}) do not have permission to perform software \
  12. installation.  Please consult your Operations/System Administration Guide for more \
  13. information on assigning permissions to privileged operations."
  14.     exit 1
  15. fi
  16. exec /usr/vmsys/admin/.chkuser -c "/usr/lbin/installpkg.r"
  17.