- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DCE command kdestroy does not remove old crede...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 05:06 AM
тАО04-18-2001 05:06 AM
DCE command kdestroy does not remove old credential files...
I am running DCE 1.5 on HP-UX 10.20...
In order to delete abandoned DCE credential files I have the following entry
in crontab:
00 04 * * * /usr/bin/kdestroy -e 1d
However it seems that this command does not work very well...
The directory /opt/dcelocal/var/security/creds has more than 15000 files some
of there 17 days old...
Am I using the command correctly...
Is there some other way to remove abandoned DCE credential files without
shutting down DCE?
Thanks in advance for your help,
Kind Regards,
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 05:12 AM
тАО04-18-2001 05:12 AM
Re: DCE command kdestroy does not remove old credential files...
I just remove the old files after they have been out there for a week.
Nothing automatic to remove them that I know of.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 06:19 AM
тАО04-18-2001 06:19 AM
Re: DCE command kdestroy does not remove old credential files...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2001 01:46 AM
тАО04-19-2001 01:46 AM
Re: DCE command kdestroy does not remove old credential files...
First of all thanks a lot for your contribution!
If kdestroy does not remove all the files, do you think thais command will do the job:
find /var/opt/dce/security/creds ! -atime 1 -exec rm {} \;
No, DCE integrated login is not used...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2001 01:58 AM
тАО04-19-2001 01:58 AM
Re: DCE command kdestroy does not remove old credential files...
use
find /var/opt/dce/security/creds -user smsadm -mtime +1 | xargs rm -f
This shell command can be scheduled by cron at any interval the
system administrator would like. Every 6 hours should be more than
sufficient to prevent a build-up of obsolete credential files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2001 03:43 AM
тАО04-19-2001 03:43 AM
Re: DCE command kdestroy does not remove old credential files...
Do you mean I have to specify in the find command as user the owner of the credential files (user smsadm does not exist in my system...)...
A lot of different users may exist!
Cheers,
Rui.