10-03-2013 01:06 AM
create a custom logs script of rm command
many people log to root user and delete some files.
i want to make a script when any user and root user run the RM command
its save a logs to any file.
who run the RM command
Please give me some advice .
10-03-2013 08:23 AM
I want only rm command logs because many people log in to root user(such as DBA user) and clear
the history file.
and create a script.and save to some hidden location.
Please give me a script or it is a possible.
10-03-2013 09:01 AM
>>because many people log in to root user(such as DBA user) and clear the history file.
why DBA user is switching to root ,if it so then there is a security issue.
if DBA really wants to use root,grant them the sudo access.
>>create a script.and save to some hidden location.
if people has root access,they can even find and edit hidden location.
10-03-2013 12:27 PM
Thanks for advice.
but my DBA user running software and install Database on /u01 and /u02 mount point.
I give the full access of /u02 and /u02 mount point
not to vg00 mount point
it is possible DBA users run every single command on /u02 /u01 mount point.and not to run all mount point.
if yes how can give the access.
Thanks for advance