From owner-freebsd-current Mon May 27 09:51:32 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA24763 for current-outgoing; Mon, 27 May 1996 09:51:32 -0700 (PDT) Received: from itesec.hsc.fr (root@itesec.hsc.fr [192.70.106.33]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA24758 for ; Mon, 27 May 1996 09:51:28 -0700 (PDT) Received: from tetard.hsc.fr (tetard.hsc.fr [192.70.106.43]) by itesec.hsc.fr (8.7.5/8.7.3/itesec-1.8) with ESMTP id SAA22711 for ; Mon, 27 May 1996 18:51:23 +0200 (MET DST) Received: (from regnauld@localhost) by tetard.hsc.fr (8.7.5/8.7.3/tetard-uucp-2.8) id SAA00466 for current@freebsd.org; Mon, 27 May 1996 18:50:53 +0200 (MET DST) From: Philippe Regnauld Message-Id: <199605271650.SAA00466@tetard.hsc.fr> Subject: Anyone want a 'usercrunch' utility ? To: current@freebsd.org (current) Date: Mon, 27 May 1996 18:50:51 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, Following recent discussions concerning 'adduser', is anybody interested in a 'userpack' or 'usercrunch' utility ? It would be run periodically by cron, and check the last login of each user. If the elapsed time exceeds a specified number of days, the user's home directory is packed away (tar cvfz) and rm -r'ed. At the same time, his login shell is replaced by the unpack script which would recreate his home directory on the fly. There could of course be a -nobackup option :-) PS: this would be perl4 :-)) -- Phil -- +-------------------+---------------------------------------+-----------------+ | Philippe Regnauld |_______Herve Schauer Consultants_______| regnauld@hsc.fr | +-------------------+FreeBSD - Turning PCs into Workstations+-----------------+