*BSD News Article 40786


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!olivea!uunet!world!kseel
From: kseel@world.std.com (kurt w seel)
Subject: Re: :BSD386 v1.1 Questions, some easy some general
Message-ID: <D2CpKv.HxI@world.std.com>
Organization: The World @ Software Tool & Die
X-Newsreader: TIN [version 1.2 PL2]
References: <76.363.490.0N966F24@teaminfinity.com>
Date: Fri, 13 Jan 1995 15:55:43 GMT
Lines: 83

Sysop (sysop@teaminfinity.com) wrote:

: We are using BSD386 version 1.1 and have some questions, NOT ALL of
: which are BSDI specific.  Any help on any of the questions is greatly
: appreciated.

: General UNIX questions:


: How do we make a dialin line hangup when no keyboard activity has taken
: place in say 5 minutes ?

: Is there a way to limit the amount of time a user can stay connected ?

I know of no system utility for doing these I accomplish it using  an awk 
script I found in SysAdmin magazine, Vol.3 No.3. The article is called
killidle revisited. The source is on FTP.UU.NET I don't remember the directory.

: And lastly is there a way to watch someone else and what they are doing

This is a problem I have been trying to solve myself for a while. The simple
(bad) solution is to run the 'script' utility. It creates a log of all traffic
, it doesn't work so well on curses based programs (try it , you'll see what I
mean).

: How do we set up accounting so that we can keep track of who
: logged on and for how long etc ?

Doesn't 'last' dothis on bsdi "out-of-the-box" ?

: Somewhat BSD386 v1.1 Specific Questions:

: General hints better than nothing.

: Hi we are trying to use the a: drive and the CDROM drive and do not know
: where to begin.  One of the things we want to try and do is copy a
: diskette in drive a: to a blank diskette in drive a: (after switching of
: course) (We want to backup floppies completely, i.e. if the diskette was
: bootable, we wnat the copy to be as well and these are UNIX diskettes,
: i.e. the BSD floppies for example that shipped with our BSD 1.1)

Try this ;
dd if=/dev/fd0 of=tmp
(switch disks)
dd of=/dev/fd0 if=tmp

: Also we would like to be able to access the CDROM, i.e. do an ls on it
: and cp files from it etc.

I don't understand what the problem here is. If it is mounted you can
do these things ...

: We suspect both of the above require mounting the drive first (a: or the
: CD)

: Also, how do we add another IDE hard drive to our system.  What we
: are running into is the root partition is 98% full, it even was
: completely full at one time.  WE used the recommended sizing in the
: release notes, how did this fill up so quick ?  What are these files and
: can they be deleted:

:         core.tip
:         core.getty
:         core.login
:         core.*

delete core files whenever you have time they are 99% useless, also depending
on you shell you can prevent them being created.

: Also, can all the ISODE files be deleted without affecting our internet
: access, smtp, nntp, mosaic telnet, ftp etc stuff, i.e. what would we
: need it for ? We know there are for OSI something or another but can
: we delete them and still be able to be an "Internet" Server ?

I don't have any ISODE on my machine and I run an internet service (I don't
think you need them).


: Thanks very much !!!,

:         Eric Sean Webber

:         sysop@TeamInfinity.com