home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / sysadmin / 6640 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.3 KB

  1. Path: sparky!uunet!haven.umd.edu!umd5!oberon.umd.edu!matthews
  2. From: matthews@oberon.umd.edu (Mike Matthews)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Re: Three NS3.0 questions
  5. Message-ID: <17113@umd5.umd.edu>
  6. Date: 21 Nov 92 21:17:26 GMT
  7. References: <1ehfadINN1f3@athena.sdsu.edu>
  8. Sender: news@umd5.umd.edu
  9. Organization: /etc/organization
  10. Lines: 52
  11.  
  12. In article <1ehfadINN1f3@athena.sdsu.edu> psimpson@sunstroke (Paul Simpson) writes:
  13. >My children use my NeXT using their own accounts, but they are too young
  14. >to understand (and remember) passwords.  I have now set my computer up to
  15. >receive incoming modem calls.  The question is, how can I limit logins
  16. >to my children's accounts to the main terminal only?
  17.  
  18. Make their shell files (.cshrc) check where they're coming from.  Or give
  19. them a secure shell which sees who's the parent process; if it's getty
  20. they're coming in from a modem and you should can 'em.
  21.  
  22. Something like
  23.  
  24. #!/bin/sh
  25.  
  26. ppid=/bin/ps l $$ | awk '$1 !~ /F/ {print $4}'
  27. if [ "$ppid" = "1" ]; then
  28.   echo "so longer, sucker"
  29.   exit(1)
  30. else
  31.   exec /bin/csh !*
  32. fi
  33.  
  34. or at least along those lines.
  35.  
  36. >What has NS3.0 done to lpr?  I used to be able to lpr ASCII files to my
  37. >old Epson FX-86 using a printcap that avoids the PostScript filters.  Is
  38. >Now everything that I lpr prints as PostScript code.  Is anybody aware
  39. >of a NS3.0 workaround?  I don't want anything fancy, just ASCII out the
  40. >serial port.
  41.  
  42. You sure that printcap's still there?  The install does weird things....
  43.  
  44. >Finally, why is it that whenever I try:
  45. >          cu hostname
  46. >I get an Input error after the modem has been taken off the hook, but when I
  47. >try:
  48. >          uucico -shostname -x5
  49. >there is no problem?  I was trying to use cu to test my uucp chat scripts,
  50. >but cu only works if I do "cu phonenumber".  This last is not critical since
  51. >using uucico is better for debugging the scripts anyways, but I'm curious.
  52.  
  53. Does your modem report call progress?  Like CARRIER 2400, PROTOCOL ALT,
  54. CONNECT 38400 or whatnot?
  55.  
  56. >                             Thanks,
  57. >                                      Paul
  58. >                                      Please e-mail to:
  59. >                                           psimpson@sunstroke.sdsu.edu
  60. ------
  61. Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
  62. ------
  63. NOBODY EXPECTS THE SPANISH INQUISITION
  64.