Thread View: comp.sys.next.sysadmin
3 messages
3 total messages
Started by Paul Simpson
Fri, 20 Nov 1992 01:34
Three NS3.0 questions
Author: Paul Simpson
Date: Fri, 20 Nov 1992 01:34
Date: Fri, 20 Nov 1992 01:34
23 lines
1637 bytes
1637 bytes
My children use my NeXT using their own accounts, but they are too young
to understand (and remember) passwords. I have now set my computer up to
receive incoming modem calls. The question is, how can I limit logins
to my children's accounts to the main terminal only?
What has NS3.0 done to lpr? I used to be able to lpr ASCII files to my
old Epson FX-86 using a printcap that avoids the PostScript filters. Is
Now everything that I lpr prints as PostScript code. Is anybody aware
of a NS3.0 workaround? I don't want anything fancy, just ASCII out the
serial port.
Finally, why is it that whenever I try:
cu hostname
I get an Input error after the modem has been taken off the hook, but when I
try:
uucico -shostname -x5
there is no problem? I was trying to use cu to test my uucp chat scripts,
but cu only works if I do "cu phonenumber". This last is not critical since
using uucico is better for debugging the scripts anyways, but I'm curious.
Thanks,
Paul
Please e-mail to:
psimpson@sunstroke.sdsu.edu
Re: Three NS3.0 questions
Author: Mike Matthews
Date: Sat, 21 Nov 1992 21:17
Date: Sat, 21 Nov 1992 21:17
52 lines
2389 bytes
2389 bytes
In article <1ehfadINN1f3@athena.sdsu.edu> psimpson@sunstroke (Paul Simpson) writes:
>My children use my NeXT using their own accounts, but they are too young
>to understand (and remember) passwords. I have now set my computer up to
>receive incoming modem calls. The question is, how can I limit logins
>to my children's accounts to the main terminal only?
Make their shell files (.cshrc) check where they're coming from. Or give
them a secure shell which sees who's the parent process; if it's getty
they're coming in from a modem and you should can 'em.
Something like
#!/bin/sh
ppid=/bin/ps l $$ | awk '$1 !~ /F/ {print $4}'
if [ "$ppid" = "1" ]; then
echo "so longer, sucker"
exit(1)
else
exec /bin/csh !*
fi
or at least along those lines.
>What has NS3.0 done to lpr? I used to be able to lpr ASCII files to my
>old Epson FX-86 using a printcap that avoids the PostScript filters. Is
>Now everything that I lpr prints as PostScript code. Is anybody aware
>of a NS3.0 workaround? I don't want anything fancy, just ASCII out the
>serial port.
You sure that printcap's still there? The install does weird things....
>Finally, why is it that whenever I try:
> cu hostname
>I get an Input error after the modem has been taken off the hook, but when I
>try:
> uucico -shostname -x5
>there is no problem? I was trying to use cu to test my uucp chat scripts,
>but cu only works if I do "cu phonenumber". This last is not critical since
>using uucico is better for debugging the scripts anyways, but I'm curious.
Does your modem report call progress? Like CARRIER 2400, PROTOCOL ALT,
CONNECT 38400 or whatnot?
> Thanks,
> Paul
> Please e-mail to:
> psimpson@sunstroke.sdsu.edu
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
NOBODY EXPECTS THE SPANISH INQUISITION
Re: Three NS3.0 questions
Author: Mike Matthews
Date: Sat, 21 Nov 1992 21:18
Date: Sat, 21 Nov 1992 21:18
8 lines
615 bytes
615 bytes
Ooops. That shell I just posted about has to appear in /etc/shells, *and* getty's not the process it's checking for. It's init. ------ Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted) ------ Pro is to con as progress is to Congress.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads