stop users from running 'history -c' in Linux


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting stop users from running 'history -c' in Linux
# 1  
Old 09-17-2008
stop users from running 'history -c' in Linux

Hi All,
My question is how can i stop my users on system from deleting their history.
How can i stop the users from running 'history -c'.

I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem.
kindly help if you any suggestions

Thanx in advance
# 2  
Old 09-17-2008
you can't.

if you need an audit trail that cannot be tampered with then you should enable auditing.
# 3  
Old 09-17-2008
Quote:
you can't.

if you need an audit trail that cannot be tampered with then you should enable auditing.
how??
# 4  
Old 09-17-2008
Quote:
Originally Posted by xander
how??
tried google? first hit for: "linux auditing"

Linux audit files to see who made changes to a file
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tracking users through history command

Hi folks, I have the basic query that there are 3 unix boxes having their individual access now in my team there are 4 members who are using the same credentials to access those 3 boxes through putty ssh from their windows desktop , now if i want to check which 4 members have executed the... (1 Reply)
Discussion started by: punpun66
1 Replies

2. Shell Programming and Scripting

How to get users history as mail..

Hi all, Thanks in Advance, i want to view my users commands, what commands they are using in their terminal like that, how to automate this history process daily. (6 Replies)
Discussion started by: anishkumarv
6 Replies

3. Linux

Fedora- Stop users changing the time

Is there a way to stop users changing the time on their machines we are running fedora thanks Adam (4 Replies)
Discussion started by: ab52
4 Replies

4. Web Development

Allow multiple users to start/stop tomcat

Hi, I have the user who runs tomcat: tomcat:tomcats I want to have another user who will be able to start and stop tomcat process. Is this possible? Thanks, Bianca (1 Reply)
Discussion started by: potro
1 Replies

5. HP-UX

How to enforce users not to modify their command history.

As a system administrator. sometimes we see the users are trying some commands dangerous for the system health and remove them from their individual coomand history file. How it is possible to enforce that the normal usres will will not be able to modify the history. Thanks in advance. Partha (4 Replies)
Discussion started by: partha_bhunia
4 Replies

6. UNIX for Advanced & Expert Users

tcsh history for several users

Hi all! I have a nice challange for you today :) I have several users that use "tcsh" the problem is that they all have the same "home_dir" (application reasons...), now... as far as i know (correct me if i'm wrong) every user have an history file in his "home_dir" that calls ".sh_history" or... (0 Replies)
Discussion started by: eliraza6
0 Replies

7. UNIX for Advanced & Expert Users

how to stop others users to stop viewing what i am doing ?

Hi , I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing . Now i want to stop others users to know what i am doing accept the root ? can i do this ? thanks (5 Replies)
Discussion started by: mobile01
5 Replies

8. AIX

Can you stop qdaemon from emailing users?

Morning, All. Does anyone know how to stop qdaemon from emailing users when print jobs fail? This is causing a problem as the application that we use is mail-aware; users get a prompt onscreen when they have unread mail in their UNIX account, however they don't all have access to the part of... (2 Replies)
Discussion started by: alexop
2 Replies
Login or Register to Ask a Question