Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2000 08:15:18 +0800 (PHT)
From:      "Francis A. Vidal" <francis@usls.edu>
To:        Ben Vaughn <bvaughn@pns.net>
Cc:        FreeBSD ISP <freebsd-isp@FreeBSD.ORG>
Subject:   Re: deleting users from txt file source
Message-ID:  <Pine.BSF.4.21.0006080814100.2301-100000@atlas.usls.edu>
In-Reply-To: <Pine.BSF.3.96.1000607100357.5799A-100000@shell01.pns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
---- Quoting Ben Vaughn's message, sent 06/07/00 10:04am ----

> I would be interested in hearing how you all helped him.

They gave me sample script:

#!/bin/sh

for user in `cat inactive.txt`
do
   echo "Deleting ${user}..."
   pw userdel ${user} -r
done

-- 
francis vidal	university of st. la salle, bacolod city, philippines
. . . . . . .	PGP key available via e-mail / subject: get PGP key
u s l s N E T	tel nos. (+63.34).433.3526 / fax (+63.34).434.0415



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006080814100.2301-100000>