08-24-2009
I know for redhat systems you can activate psacct. Its what you normally use for monitoring that type of activity. You can't stop a user from seeing their own bash_history, as its located in their home directory - which is their little slice of the pie. Its kind of necessary for the shell to function properly.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Question for all sysadmins.
How do you keep track of what commands each user uses on his account. I thought an easy way is to monitor .bash_history, however those files can be "edited" by the user.
Is there a permission combination that will allow the shell to record to it but yet they can't edit... (12 Replies)
Discussion started by: jason6792
12 Replies
2. UNIX for Dummies Questions & Answers
we need the help to change .bash_histroy file in root ,(i.e) we want to save the histroy for .temp.txt for permenently. how to do??
Help us (1 Reply)
Discussion started by: thakshina
1 Replies
3. UNIX for Advanced & Expert Users
During the course of the session before I logout I see some of the commands listed from my previous session but not from my current session and after I logout and log back in I see the commands which I ran before logging out.
Does the .bash_history stay in the buffer or someplace else then?
... (2 Replies)
Discussion started by: jacki
2 Replies
4. UNIX for Advanced & Expert Users
Hi Experts,
I know my question would be strange but i need to understand how the .bash_history file is logging user actions (the mechanism) and if possible modify it to include also the date/time of every action done by the user.
Sample file:
# more .bash_history
ssh <IP address> -l axadmin... (3 Replies)
Discussion started by: Dendany83
3 Replies
5. UNIX for Dummies Questions & Answers
Hi - user commands are written in . bash_history of that user when he logs out. my bash_history file shows. not sure what that number means
#1329618972
ls -la
#1329618978
ls
#1329618980
ls -la
my bash_profile looks like this
PATH=$PATH:$HOME/bin
export PATH
export... (3 Replies)
Discussion started by: oraclermanpt
3 Replies
6. UNIX for Advanced & Expert Users
rm -rf .bash_history some one ran rm -rf .bash_history on my Linux server(SUSE),I can see this command being run in current history, but I want the OLD history as well,can I recover the old history back. (9 Replies)
Discussion started by: Ankit Bansal
9 Replies
7. Shell Programming and Scripting
Hi would like to ask if there is anyway to display .bash_history with timestamp using shell script?
i know that you should use history command with HISTTIMEFORMAT="%d/%m/%y %T " to display it in terminal but it does not work when i use it on shell script. It seem that you can't run history... (1 Reply)
Discussion started by: pikamon
1 Replies
8. UNIX for Beginners Questions & Answers
I am using the bash shell.
When I view my recent command history using the "history" command from the prompt, it only shows me the commands starting at #928.
The commands I need are earlier than that, but I can't figure out how to make the other 927 display.
They are in my .bash_history... (1 Reply)
Discussion started by: Twinklefingers
1 Replies
LEARN ABOUT DEBIAN
pieperipherallabeler
piePeripheralLabeler(3tk) piePeripheralLabeler class piePeripheralLabeler(3tk)
__________________________________________________________________________________________________________________________________________________
NAME
piePeripheralLabeler - tkpiechart pie peripheral style labeler class
SYNOPSIS
stooop::new piePeripheralLabeler canvas ?options?
switched::configure piePeripheralLabelerObject ?options?
switched::cget piePeripheralLabelerObject option
_________________________________________________________________
DESCRIPTION
The pie peripheral style labeler object is used as a slice label placer for a pie object and is passed to the pie constructor via its
-labeler option (see the pie class manual).
The slice description text labels are arranged in 2 columns below the pie graphics, whereas the slice values are placed next to the slice
and actually follow the slice as the pie is updated. Each description label text is placed to the right of a rectangle, the background
color of which matches its corresponding slice. Each description label is actually a canvasLabel object.
There is no need to delete a piePeripheralLabeler object as it is automatically handled by the pie class.
stooop::new piePeripheralLabeler canvas ?options?
Creates a piePeripheralLabeler object in the specified Tk canvas. The piePeripheralLabeler object identifier is returned (refered to
as piePeripheralLabelerObject in this document).
switched::configure piePeripheralLabelerObject ?options?
Configures a piePeripheralLabeler object or returns all the options with their current values if no options are passed as parame-
ters.
switched::cget piePeripheralLabelerObject option
Returns an option value for the specified piePeripheralLabeler object.
OPTIONS
-font value
Specifies a font for the slice labels. If not specified, the default font is system dependent.
-justify value
Specifies how to justify labels within their own column. Must be one of left, center or right. Defaults to left. For example, if
justification is right, all column labels right edges are aligned.
-offset value
Specifies the distance between the pie graphics and the closest slice label. This value may be specified in any of the forms
described in the canvas COORDINATES manual section.
-smallfont
Specifies a font for the slice values. It is usually a small font in order to avoid values overlapping when 2 slices are very close
to each other. If not specified, the description label font (-font option) is used.
-widestvaluetext
Specifies a string of maximum width for slice values (placed around the pie next to the slices), so that enough room is allocated
for these value labels when the pie width and height are set. It defaults to 00.0. For example, it could be set to "00.00 %".
TAGS
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information):
o piePeripheralLabeler(piePeripheralLabelerObject)
SEE ALSO
canvasLabel, pie, pieBoxLabeler
KEYWORDS
canvas, labeler, pie, slice
COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
tkpiechart 6.6 piePeripheralLabeler(3tk)