HP3000-L Archives

September 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wayne Brown <[log in to unmask]>
Reply To:
Date:
Tue, 19 Sep 2000 09:31:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Do you want to remove all files owned by that user, or only Openmail-related
files?  If the user id is johnsmith and you want to get rid of ALL his files,
then this will work:

find / -user johnsmith -exec rm -ri {} \;

Warning!  This will remove ALL FILES AND DIRECTORIES EVERYWHERE ON THE SYSTEM
that are owned by this user!  If all his files are in a certain directory tree,
then it would be safer to start in that directory rather than / (root).  Also,
this command will ask for a Y or N answer before deleting each file.  If you
really want to live dangerously, replace the -ri option for exec with -r and it
will do its work without asking any questions.

I'd recommend trying this first:

find / -user johnsmith -exec ls -lr {} \;

which will give you a list of the files owned by the user without deleting
anything.

Wayne




"Chana, Harpreet TCS1C" <[log in to unmask]> on 09/19/2000 07:51:51 AM

Please respond to "Chana, Harpreet TCS1C" <[log in to unmask]>

To:   [log in to unmask]
cc:    (bcc: Wayne Brown/Corporate/Altec)

Subject:  [HP3000-L] Openmail on HP-UX -- User deletion



We have Openmail running on HP-UX platform. Customer is now migrating to
Exchange on NT. We are deleting users from Openmail using "omdelu" and
"omdelent" command. This deletes the user but does not remove his
directories and files which are associated with his mailbox. We need to
housekeep the system and delete any existence of any Openmail
files/directories/mailboxes/messages etc.  owned by this user.

Can someone help. Looks like bit away from HP3000. But I believe in the
group's competency.

Thanks in advance for any suggestions.

With Warm Regards

Harpreet Singh Chana
TCS/1C
Ph. 671215
Mina Al Fahal

ATOM RSS1 RSS2