🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Patrick Wendt Fri, 24 Jan 1992 23:12
nn-restricted-mode available (for BBS usage) ?
#2392
Author: Patrick Wendt
Date: Fri, 24 Jan 1992 23:12
24 lines
1738 bytes
Hi !

Is there any possible way to setup 'nn' as restricted as I'd
need it for a BBS-environment ? - 'nn' would be a real nice
newsreader even for local boards on a BBS. - As BBS-users
mustn't have the minimum of a chance to get a shell, overwrite
system(-bbs) files etc. there must be a real secure setup for
'nn' ...

Is there anyone out there who has made such a setup, or, is
it even possible to get such a restiction with/without source-
modification ?

Thanx for any hints in advance ... Pat !

-- 

--
 ----------------------------------------------------------------------------
 -  Patrick Wendt  |   root@chamber.in-berlin.de |  Zombies Burial Chamber  -
 - Chamber-Systems |   root@megiddo.in-berlin.de | Public UNIX Sys-V 386/33 -
 - - - - - - - - - | pwendt@opal.cs.tu-berlin.de | Data: +49 30 / 402 56 92 -
 - Berlin, Germany | pwendt@bitcave.in-berlin.de | HST D.S. 14400bps V32bis - 
 ----------------------------------------------------------------------------
Re: nn-restricted-mode available (for BBS usage) ?
#2402
Author: Vincent D. Skahan
Date: Mon, 27 Jan 1992 21:43
23 lines
1525 bytes
root@chamber.in-berlin.de (Patrick Wendt) writes:
>Is there any possible way to setup 'nn' as restricted as I'd
>need it for a BBS-environment ? - 'nn' would be a real nice
>newsreader even for local boards on a BBS. - As BBS-users
>mustn't have the minimum of a chance to get a shell, overwrite
>system(-bbs) files etc. there must be a real secure setup for
>'nn' ...

sure, you take the source code and... :-)

anyway, you'd have to first get an editor with a no-shell-access
configuration (say, bbstevie, which is the Stevie vi clone with
some additional stuff to disable shell access), and probably
go through the nn sources and do the same kind of stuff done
in bbstevie, disable all the ways to the shell individually.



-- 
   ---------   Vince Skahan   -----------   vince@atc.boeing.com   ---------   

    Woody: What's going on, Mr. Peterson?
    Norm:  Another layer for the winter, Wood.
Re: nn-restricted-mode available (for BBS usage) ?
#2409
Author: Kenny Adams
Date: Wed, 29 Jan 1992 05:01
12 lines
1088 bytes
Hi,
	You might try someone at   samba.oit.unc.edu   they run a bbs and use
nn as the news reader.  most dangerous things seem to be inactive.  if you
want to try their bbs telnet to samba.oit.unc.edu  .

regards
   kenny

kenny adams
caadams@atlas.cs.upei.ca
standard disclaimers apply
you got what you paid for........
Re: nn-restricted-mode available (for BBS usage) ?
#2415
Author: Josef Wolf
Date: Sun, 02 Feb 1992 02:28
49 lines
2530 bytes
In <1992Jan27.214331.4172@aw2.fsl.ca.boeing.com> vds7789@aw2.fsl.ca.boeing.com (Vincent D. Skahan) writes:
] root@chamber.in-berlin.de (Patrick Wendt) writes:
] >Is there any possible way to setup 'nn' as restricted as I'd
] >need it for a BBS-environment ? - 'nn' would be a real nice
] >newsreader even for local boards on a BBS. - As BBS-users
] >mustn't have the minimum of a chance to get a shell, overwrite
] >system(-bbs) files etc. there must be a real secure setup for
] >'nn' ...

I've done this some time ago. I'm sorry that I can't send you the diffs,
because there is too much hacked around in this version to make nn6.4
run with OSK. But as a hint, there are (mainly) 5 Things to do:

1 set shell-restrictions in the setup file
2 set and lock _every_ variable which is used to execute commands
3 modify the source to avoid display/save/print files above the
  home-directory if shell-restrictions is set (mainly in save.c)
4 modify the source to avoid changing directories if shell-restrictions
  is set
5 modify the source to avoid showing the contents of locked variables

You shold lock at least following variables:
printer
bug-report-address
decode-header-file
unshar-header-file
backup-folder-path
backup-suffix
pager
mail
mailer
folder
newsrc
editor
mail-record
news-record
record
patch-command
inews
spell-checker

] anyway, you'd have to first get an editor with a no-shell-access
] configuration (say, bbstevie, which is the Stevie vi clone with
                      ^^^^^^^^
Where can I get this one?
-- 
|   Josef Wolf,  Germersheim,  Germany    aka    sepp@ppcger.ppc.sub.org   |
| +49 7274 8048  USR HST-DS  300-14400 V32/V32bis V42/V42bis/HST 24 Hours  |
| ...und wieviel brave Deutsche haben wieder nichts geschnallt... (Marius) |
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