[HPADM] RE: Involuntary removes.
From: Hustert Klaus-CKH035 (Klaus.Hustert_at_motorola.com)
Date: 08/25/03
- Previous message: Sevilla Simarro, Enrique: "[HPADM] Involuntary removes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'Sevilla Simarro, Enrique'" <ESevilla@uni2.es>, "'hpux-admin@DutchWorks.nl'" <hpux-admin@DutchWorks.nl> Date: Mon, 25 Aug 2003 14:18:39 +0200
Hi,
you can mv the /usr/bin/rm executable to e.g. /usr/bin/rm_org and replace it thru an own script (maybe called rm_my). Than you can using e.g "/usr/bin/rm_org -i $1 ..." in the rm_my script for requesting confirmation.
Create a link like ln -s /usr/bin/rm_my /usr/bin/rm and it should work for you.
Hope it helps,
Klaus
Hi,
I would like to know if its possible to enable any option on HPUX to avoid involuntary uses of rm command.
For example, only the execution after responding a confirmation question, or something else ???
Best regards,
Enrique
_____________________________________________________________
Uni2 Telecomunicaciones, S.A.U.
Aviso legal:
Este mensaje electrónico está dirigido únicamente a la(s) dirección(es) indicadas anteriormente; el carácter confidencial, personal e intransferible del mismo está protegido legalmente. Cualquier revelación, uso o reenvío no autorizado, completo o en parte, está prohibido.
Si ha recibido este mensaje por equivocación, notifíquelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente.
Gracias
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: Sevilla Simarro, Enrique: "[HPADM] Involuntary removes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|