Subject: | |
From: | |
Reply To: | Chana, Harpreet TCS1C |
Date: | Tue, 26 Sep 2000 07:52:48 +0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]]
Sent: 25 September 2000 19:57
To: Chana, Harpreet TCS1C
Subject: RE: Openmail on HP-UX -- User deletion
Unfortunately, I've never used Openmail so I don't know enough about it to
make
any useful suggestions.
Sorry I couldn't help,
Wayne
"Chana, Harpreet TCS1C" <[log in to unmask]> on 09/23/2000 07:03:53 AM
To: Wayne Brown/Corporate/Altec@Altec
cc:
Subject: RE: Openmail on HP-UX -- User deletion
Thanks for your effort.
However, in Openmail the database (Mailboxes) ; and hence the files
belonging to a user; are owned by openmail:hpoffice and NOT the user
himself. Therefore this suggestion will not work.
We need to find out the Openmail-ID of each user and then the corresponding
directory in Opnemail Data structure; and then delete everything under that
user's directories.
Any other suggestion please ??
Thanks & Rgds
Harpreet
-----Original Message-----
From: Wayne Brown [mailto:[log in to unmask]]
Sent: 19 September 2000 18:32
To: [log in to unmask]
Subject: Re: Openmail on HP-UX -- User deletion
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
|
|
|