Sponsored Content
Top Forums Shell Programming and Scripting stop users from running 'history -c' in Linux Post 302237207 by DukeNuke2 on Wednesday 17th of September 2008 08:07:35 AM
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
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
XGetMotionEvents()														XGetMotionEvents()

Name
  XGetMotionEvents - get events from pointer motion history buffer.

Synopsis
  XTimeCoord *XGetMotionEvents(display, w, start, stop, nevents_return)
	Display *display;
	Window w;
	Time start, stop;
	int *nevents_return;

Arguments
  display  Specifies a connection to an X server; returned from XOpenDisplay().

  w	   Specifies the ID of the window whose associated pointer motion events will be returned.

  start    Specify  the  time interval for which the events are returned from the motion history buffer.  Pass a time stamp (in milliseconds)
  stop	   or CurrentTime.

  nevents_return
	   Returns the number of events returned from the motion history buffer.

Returns
  The list of pointer positions.

Description
  XGetMotionEvents() returns all events in the motion history buffer that fall between the specified start and	stop  times  (inclusive)  and
  that	have  coordinates  that lie within (including borders) the specified window at its present placement.  The x and y coordinates of the
  XTimeCoord return structure are reported relative to the origin of w.

  XGetMotionEvent returns NULL if the server does not support a motion history buffer (which is common), or if the start time  is  after  the
  stop	time, or if the start time is in the future.  If the stop time is in the future, it is equivalent to specifying the constant Current-
  Time, since the server does not wait to report future events.  A motion history buffer is supported if XDisplayMotionBufferSize() (display)
  > 0.	The pointer position at each pointer hardware interrupt is then stored for later retrieval.

  Use XFree() to free the returned XTimeCoord structures when they are no longer needed.

  For more information, see Volume One, Chapter 9, The Keyboard and Pointer.

Structures
     typedef struct _XTimeCoord {
	 Time time;
	 short x, y;
     } XTimeCoord;

Errors
  BadWindow

See Also
  XQLength(),	XAllowEvents(),   XCheckIfEvent(),   XCheckMaskEvent(),  XCheckTypedEvent(),  XCheckTypedWindowEvent(),  XCheckWindowEvent(),
  XEventsQueued(), XGetInputFocus(), XIfEvent(), XMaskEvent(), XNextEvent(), XPeekEvent(), XPeekIfEvent(), XPending(), XPutBackEvent(),  XSe-
  lectInput(), XSendEvent(), XSetInputFocus(), XSynchronize(), XWindowEvent().

Xlib - Input Handling														XGetMotionEvents()
All times are GMT -4. The time now is 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy