Why not just move the rm command and redefine it as a script then you can issue "please verify your command". Of course you will want to be careful, since now rm expects input in the case you're trying to exercise care. Anything that is scripted should run the old version of rm.
Such a fundamental modification would affect every user on the system, including startup scripts, shutdown scripts, and cronjobs, none of which have a controlling terminal with which to prompt and read a response.
I strongly suggest against even considering this suggestion.
I propose a wholly new direction: psychology, not technology
I do not know how your users get to root, maybe su or sudo. Anyway, as part of root's login message or from the
add a message:
Or whatever works in your environment.
Of course, you are monitoring nothing.
But users cannot know how to verify that easily. It is not bulletproof. But you cannot play with core utilities like rm and still have the system behave correctly.
I think you have a management problem. If management will not listen seriously to your problem, and enforce some changes, then you cannot possibly win.
But maybe you can fool enough people to get some stability.
Hi ,
I have cent os 6.5 and am trying to make few routes permanent for bond:
i have added two routes using below two commands :
/sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128
/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90
post which route command output is... (5 Replies)
Hello,
I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server.
error message :
# net ads join -U 504783
Host is not configured as a member server.
Invalid configuration. Exiting....
Failed to join domain: This... (0 Replies)
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Hi,
Trying to install Interwoven Teamsite in CentOs 5.4. Found issue in the first step while installing the uvfs .
# gmake
/usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gmake: *** Error 1
#
... (2 Replies)
Hi,
Trying to install web logic 9.2 on Cent OS in the Graphical mode.
After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further.
Any suggestion or... (0 Replies)
I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository.
i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege,... (1 Reply)
I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now
$filename ="/usr/local/net/var/lib/directoryservice/sync.disable"
if ;
then
echo "The file exists"... (2 Replies)