Hi there,
On Tue, Feb 04, 2003 at 02:31:55PM -0900, Jon Reynolds wrote:
Probably a stupid question but I have a lot of users on a freebsd
box and I want to remove them all at once. Is there any problem with
just issueing this command in the /home directory: 'rm -i *'. Or is
there a better way to do this?
Thanks for any suggestions,
You could try something like:
cd /home/
for i in * ; do /usr/sbin/rmuser -y $i ; done
That should do what you're asking for, and will do a lot more than just
remove the directories. Man rmuser(8) for more info on what it does if
you're interested. :)
- Marc
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message